本文整理汇总了PHP中builddiv_start函数的典型用法代码示例。如果您正苦于以下问题:PHP builddiv_start函数的具体用法?PHP builddiv_start怎么用?PHP builddiv_start使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了builddiv_start函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: builddiv_start
<br>
<?php
builddiv_start(0, $lang['account']);
?>
<table width = "550" align='center'>
<tr>
<td>
<?php
write_subheader($lang['account_info']);
?>
<table width = "550" style = "border-width: 1px; border-style: dotted; border-color: #928058;">
<tr>
<td>
<table width='545' style="border-width: 1px; border-style: solid; border-color: black; background-image: url('<?php
echo $Template['path'];
?>
/images/light3.jpg');">
<tr>
<td>
<table border='0' cellspacing='0' cellpadding='4' width='540'>
<tr>
<td align='right' valign = "top" width='25%'><b>Account Status:</b></td>
<td align='left' valign = "top" width='25%'><font color='green'><b>Active</b></font></td>
<td align='right' valign = "top" width='25%'><b>Vote Count:<b></td>
<td align='left' valign = "top" width='25%'><?php
echo $user['total_votes'];
?>
</td>
</tr>
<tr>
<td align='right' valign = "top" width='25%'><b>Registration Date:</b></td>
示例2: builddiv_start
<Br />
<?php builddiv_start(1, "Character Tools") ?>
<style>
div.errorMsg { width: 60%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #e03131; background: #ff9090;}
</style>
<style type="text/css">
a.server { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; font-weight: bold; }
td.serverStatus1 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
td.serverStatus2 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>
<!-- Character Tools Description -->
<table width = "510" cellspacing = "0" cellpadding = "0" border = "0">
<tr>
<td>
<span>
<?php echo add_pictureletter("Here is where you are able to edit your characters"); ?>
</span>
</td>
</tr>
<tr>
<td><center>You have <font color=blue><u><?php echo $your_points; ?></u></font> <?php echo $lang['vote_points']; ?>
</table>
<br />
<!-- Character Unstuck Tool -->
<?php write_subheader("Character Un-Stuck Tool"); ?>
<center>
<table width = "580" style = "border-width: 1px; border-style: dotted; border-color: #928058;"><tr><td><table style = "border-width: 1px; border-style: solid; border-color: black; background-image: url('<?php echo $currtmp; ?>/images/light3.jpg');"><tr><td>
示例3: builddiv_start
<br>
<?php
builddiv_start(1, $lang['vote_system']);
// Initiate refresh, 20 seconds default
echo '<meta http-equiv=refresh content="20;url=?p=vote">';
if (isset($_POST["site"])) {
vote($_POST["site"]);
}
echo $PAGE_DESC;
?>
<div class="contentdiv">
<style type="text/css">
div.noErrorMsg { width: 80%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #00ff24; background: #afffa9;}
div.errorMsg { width: 80%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #e03131; background: #ff9090;}
td.serverStatus1 { font-weight: bold; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
td.serverStatus2 { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
td.serverStatus3 { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>
<?php
write_metalborder_header();
?>
<table width="100%" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<td class="rankingHeader" colspan="3" align="center" nowrap="nowrap"><?php
echo $lang['vote_acct_details'];
?>
</td>
示例4: builddiv_start
<br>
<?php builddiv_start(1, $lang['UWallp']) ?>
<?php if($user['id']<=0){ ?>
<center><div style="background-color:#FF0033;border:groove 4px;margin:4px;padding:6px 9px 6px 9px;"><strong>
<?php echo $lang['access_denied'];
}else{ ?>
<?php
if (isset($user['character_name'])) { ?>
<html>
<body>
<center><font color="red"><b><?php echo $lang['Filesizew'];?></b></font></center><br/>
<form method="post" action="index.php?n=media&sub=wallp" enctype="multipart/form-data">
<?php echo $lang['author'];?>: <b><?php echo $user['character_name']; ?></b><br/>
<?php echo $lang['file'];?>:<br/>
<input type="hidden" name="postnewfile" value="POST">
<input type="file" name="filename"><br/>
<center><input type="submit" value="<?php echo $lang['UWallp']; ?>" name="doadd"><br/></center>
<form>
</body>
</html>
<?php } else {echo '<br><br><p align="center" style="color:red; font-size: 15px; font-weight:bold; ">'.$lang['no_char_gal'].'</p><br><br>';} ?>
<?php } ?>
<?php builddiv_end() ?>
示例5: builddiv_start
<br>
<?php builddiv_start(0, "GM Logs") ?>
<div>
In this section you can check a gms or a earlyer gms logs of what that GM does.
</div>
<div>
Search for username:
<form action="index.php" method="GET">
<input type="hidden" name="n" value="admin">
<input type="hidden" name="sub" value="viewlogs">
<input type="text" name="accountid"><input type="submit" value="Search">
</form>
</div>
<?php
if ($showform == true){
?>
<div>
<h2>Logged GM events:</h2><br />
<?php echo $mangos_core_logs->parse_gmlog(); ?>
</div>
<?php
}else{
?>
Please enter a username to view the GM log for the specific account.
<?php
}
?>
<?php builddiv_end() ?>
示例6: builddiv_start
<br>
<?php builddiv_start(0, $lang['gm_online']) ?>
<?php $MANG = new Mangos; ?>
<style type="text/css">
a.server { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; font-weight: bold; }
td.serverStatus1 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
td.serverStatus2 { font-size: 0.8em; border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>
<?php write_metalborder_header(); ?>
<table cellpadding="3" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="rankingHeader" align="center" colspan="6" nowrap="nowrap"><?php echo $realm_info['name']; ?></td>
</tr>
<tr>
<td class="rankingHeader" align="center" nowrap="nowrap">#</td>
<td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['name'];?> </td>
<td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['race'];?> </td>
<td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['class'];?> </td>
<td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['level_short'];?> </td>
<td class="rankingHeader" align="center" nowrap="nowrap"><?php echo $lang['location'];?> </td>
</tr>
<?php foreach($res_info as $res): ?>
<tr>
<td class="serverStatus<?php echo $res['res_color'] ?>" align="center"><b style="color: rgb(102, 13, 2);"><?php echo $res['number']; ?></b></td>
<td class="serverStatus<?php echo $res['res_color'] ?>"><b class="smallBold" style="color: rgb(35, 67, 3);"><?php echo $res['name']; ?></b></td>
<td class="serverStatus<?php echo $res['res_color'] ?>" align="center"><small style="color: rgb(102, 13, 2);"><img onmouseover="ddrivetip('<?php echo $MANG->characterInfoByID['character_race'][$res['race']]; ?>','#ffffff')" onmouseout="hideddrivetip()" src="<?php echo $offtmp; ?>/images/icons/race/<?php echo $res['race'];?>-<?php echo $res['gender'];?>.gif" height="18" width="18"></small></td>
<td class="serverStatus<?php echo $res['res_color'] ?>" align="center"><small style="color: (35, 67, 3);"><img onmouseover="ddrivetip('<?php echo $MANG->characterInfoByID['character_class'][$res['class']]; ?>','#ffffff')" onmouseout="hideddrivetip()" src="<?php echo $offtmp; ?>/images/icons/class/<?php echo $res['class'];?>.gif" height="18" width="18"></small></td>
示例7: builddiv_start
<br />
<?php
builddiv_start(0, $lang['char_rename']);
// First check to see if the admin has the module enabled.
if ($Config->get('module_charrename') == 1) {
?>
<table width = "550" align='center'>
<tr>
<td>
<?php
write_subheader($lang['char_rename']);
?>
<table width = "550" style = "border-width: 1px; border-style: dotted; border-color: #928058;">
<tr>
<td>
<table width='545' style="border-width: 1px; border-style: solid; border-color: black; background-image: url('<?php
echo $Template['path'];
?>
/images/light3.jpg');">
<tr>
<td>
<form method='POST' action='<?php
echo mw_url('account', 'rename');
?>
'>
<table border='0' cellspacing='0' cellpadding='4' width='540'>
<?php
if (isset($_POST['newname'])) {
if ($_POST['id'] != 0) {
changeName();
} else {
示例8: builddiv_start
<br>
<?php
builddiv_start(1, "FAQ");
?>
<style media="screen" title="currentStyle" type="text/css">
.postContainerPlain {
font-family:arial,palatino, georgia, verdana, arial, sans-serif;
color:#000000;
padding:5px;
margin-bottom: 4px;
font-size: x-small;
font-weight: normal;
background-color: #E7CFA3;
background-image: url('<?php
echo $Template['path'];
?>
/images/light.jpg');
border-style: solid; border-color: #000000; border-width: 0px; border-bottom-width:1px; border-top-width:0px;
line-height:140%;
}
.postBody {
padding:10px;
line-height:140%;
font-size: small;
}
.title {
font-family: palatino, georgia, times new roman, serif;
font-size: 14pt;
color: #640909;
}
</style>
示例9: builddiv_start
<br>
<?php builddiv_start(1, "Teamspeak") ?>
<style type="text/css">
#teamspeakdisplay img {
border: 0px;
}
#teamspeakdisplay span {
font: 9pt arial, verdana,helvetica;
padding: 0px;
white-space: nowrap;
vertical-align: top;
}
#teamspeakdisplay span.teamspeakserver {
padding-left: 3px;
font-weight: bold;
}
#teamspeakdisplay span.teamspeakchannel {
padding-left: 3px;
}
#teamspeakdisplay span.teamspeaksubchannel {
padding-left: 3px;
}
#teamspeakdisplay span.teamspeakplayer {
padding-left: 3px;
}
#teamspeakdisplay a.teamspeakserver {
font: 9pt arial, verdana,helvetica;
font-weight: bold;
text-decoration: none;
color: #000000;
}
示例10: builddiv_start
<br>
<?php builddiv_start(1, $lang['vote']) ?>
<style>
div.errorMsg { width: 60%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #e03131; background: #ff9090;}
</style>
<?php
if ($showvote == false){
?>
<center>
<div class="errorMsg"><b><?php echo $lang['chat_disable'] ?></b></div>
</center>
<?php
}else{
?>
<?php
initialize_user();
if($max_acc_points_per_day < 0)
$max_acc_points_per_day = count($tab_sites);
if(isset($_POST["site"]))
vote((int) $_POST["site"]);
if(isset($_POST["reward"]))
$reward_message = chose_reward((int) $_POST["reward"]);
else if(isset($_POST["character"]))
add_char_to_session((int) $_POST["character"]);
?>
<?php echo $lang['vote_desc1']; ?>
<div class="contentdiv">
<style type="text/css">
示例11: builddiv_start
<br>
<style>
div.errorMsg { width: 60%; height: 30px; line-height: 30px; font-size: 10pt; border: 2px solid #e03131; background: #ff9090;}
</style>
<?php builddiv_start(0, "News");
// If action is adding a new News topic
if($_GET['action'] == 'add'){
?>
<hr class="hidden" />
<div id="write_form" class="subsections">
<form method="post" action="index.php?n=admin&sub=news&action=add" name="mutliact" class="clearfix" OnSubmit="if(!this.owner.value || !this.title.value)return false;">
<div id="ulist_cont"></div>
<label for="title"><?php echo $lang['post_subj'];?> (max 80):</label><br/>
<input type="text" name="title" id="title"" size="50" maxlength="80" class="input_text input_large" /><br /><br />
</p>
<?php write_form_tool(); ?>
<div id="input_block">
<textarea id="input_comment" name="message"></textarea><br/>
<!-- <input value="<?php echo $lang['editor_preview'];?>" type="button" id="preview_do">
-->
<input type="reset" value="<?php echo $lang['editor_clear'];?>">
</div>
<div id="preview_block" style="display: none;background:none;">
<div class="editor" id="input_preview"></div>
<input class="button" id="preview_back" value="<?php echo $lang['editor_backtoedit']?>" type="button">
</div>
<input type="submit" value="<?php echo $lang['editor_send'];?>" class="input_btn_big" />
</form>
</div>
<?php
示例12: builddiv_start
<img src="templates/wotlk/images/header-charcopy.jpg" width="660" height="121" /><br />
<img src="templates/wotlk/images/banner-bottom2.jpg" width="660" height="18" /><br /><br />
<div id = "wrapper"><div id = "heads"><img src = "templates/wotlk/images/header-charcopy-top.gif" width="642" /></div></div>
<?php builddiv_start(0, $lang['charcreate']) ?>
<?php if($user['id'] > 0){ ?>
<?php
// We do only want to show this if user is on the right realm connection.
foreach($MW->getConfig->character_copy_config->work_on_realms->realm as $check){
$i = 0;
if ($user['cur_selected_realmd'] != $check){
$exit = TRUE;
$usable_realm[$i] = $check;
$i++;
}
}
if ($exit == TRUE){
echo "<p><b>".$lang['not_copy_realm_choose_other']."</b><ul>";
foreach($usable_realm as $rm){
$realmname = $DB->selectCell("SELECT name FROM `realmlist` WHERE id='".$rm."'");
echo "<li><a href='index.php?n=account&sub=charcreate&changerealm_to=".$rm."'>".$realmname."</a></li>";
}
echo "</ul></p>";
die;
}
?>
<style type = "text/css">
tr.serverStatus1 { border-style: solid; border-width: 1px 0px 0px 1px; border-color: #D8BF95; }
tr.serverStatus2 { border-style: solid; border-width: 1px 0px 0px 1px; border-color: #D8BF95; background-color: #C3AD89; }
td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
input.name_input{ background-color: black; color:white;};
示例13: builddiv_start
<br/>
<?php builddiv_start(1, "Config") ?>
Below are the settings from the MangosWeb configuration file. If you want to change
these, you need to edit the <?php echo $configfilepath; ?> file manually.<br/>
<div style="border: 2px dotted #1E4378; margin: 8px 2px; padding:6px 9px;">
<table>
<?php foreach($config as $key=>$value): ?>
<tr>
<td style="font-size: 80%"><?php echo $key; ?> =</td>
<td style="font-size: 80%"><?php echo $value; ?></td>
</tr>
<?php endforeach; ?>
</table>
</div>
<?php builddiv_end() ?>
示例14: builddiv_start
<img src="<?php echo $currtmp; ?>/images/armorsets.jpg" />
<br />
<?php builddiv_start(1, $lang['armorsets2']) ?>
<style type="text/css">
#cnt { width: 850px; height: auto; margin-left: 0px;}
</style>
<?php echo $lang['armorsets_desc'] ?>
<br /><br />
<center>
<iframe src="http://www.worldofwarcraft.com/info/items/armorsets/"; height="880" width="745" frameborder="0" scrolling="no"> </iframe>
</center>
<br />
<h2>Dungeon Set 1 (8 pieces)</h2><br />
The items that form these sets may be found in the lvl 58-60 instances (Stratholme, Scholomance, Upper, and Lower Blackrock Spire), set pieces
have level requirements of 52-58. The pieces occupy the chest, feet, hands, head, legs, shoulders, waist, and wrist slots.
<br /><br />
<h2>Dungeon Set 2 (8 pieces)</h2><br />
Since Patch 1.10, the items from dungeon set 1 can be upgraded by a quest chain, to form the dungeon set 2. Dungeon Set 2 pieces have no level
requirements, however the quest chain needed to obtain them requires level 58. The pieces occupy the chest, feet, hands, head, legs, shoulders,
waist, and wrist slots.
<br /><br />
<h2>Tier 1 (8 pieces) </h2><br />
The first epic sets, and the easiest to obtain. Six of each class's eight Tier 1 items for each class drop from respective bosses in Molten Core.
The other two pieces (belt and bracers) drop from random trash mobs in the same instance. The pieces occupy the chest, feet, hands, head, legs,
shoulder, waist, and wrist slots.
<br /><br />
<h2>Tier 2 (8 pieces)</h2><br />
These items can be found on Ragnaros in Molten Core, Onyxia in Onyxia's Lair, and the Blackwing Lair bosses. The pieces occupy the chest, feet,
hands, head, legs, shoulder, waist, and wrist slots.
<br /><br />
<h2>Tier 3 (9 pieces)</h2><br />
示例15: builddiv_start
<br>
<?php
builddiv_start(1, $lang['who_is_online']);
// Check to see the admin has the online list enabled.
if ($Config->get('module_onlinelist') == 1) {
?>
<table border="0" width="100%">
<tr>
<td width="20%" style="border-bottom:1px solid #cccccc;"><?php
echo $lang['who'];
?>
</td>
<td style="border-bottom:1px solid #cccccc;"><?php
echo $lang['where'];
?>
</td>
<td style="border-bottom:1px solid #cccccc;"><?php
echo $lang['when'];
?>
</td>
<?php
// If the users is an admin, show the IP address, else dont
if ($user['account_level'] == 3 || $user['account_level'] == 4) {
?>
<td style="border-bottom:1px solid #cccccc;">Ip</td>
<?php
}
?>
</tr>
<?php
foreach ($People as $item) {