Advertisement
Guest User

characters.php

a guest
Mar 2nd, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.09 KB | None | 0 0
  1. <?PHP
  2. $name = stripslashes(ucwords(strtolower(trim($_REQUEST['name']))));
  3. if(empty($name)) {
  4. $main_content .= 'Here you can get detailed information about a certain player on '.$config['server']['serverName'].'.<BR> <FORM ACTION="?subtopic=characters" METHOD=post><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Search Character</B></TD></TR><TR><TD BGCOLOR="'.$config['site']['darkborder'].'"><TABLE BORDER=0 CELLPADDING=1><TR><TD>Name:</TD><TD><INPUT NAME="name" VALUE=""SIZE=29 MAXLENGTH=29></TD><TD><INPUT TYPE=image NAME="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18></TD></TR></TABLE></TD></TR></TABLE></FORM>';
  5. }
  6. else
  7. {
  8. if(check_name($name)) {
  9. $player = $ots->createObject('Player');
  10. $player->find($name);
  11. if($player->isLoaded()) {
  12. $account = $player->getAccount();
  13. $main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD><TD><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Character Information</B></TD></TR>';
  14. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  15. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD WIDTH=20%>Name:</TD><TD><font color="';
  16. $main_content .= ($player->isOnline()) ? 'green' : 'red';
  17. $main_content .= '"><b>'.$player->getName().'</b></font>';
  18. if($player->isDeleted())
  19. $main_content .= '<font color="red"> [DELETED]</font>';
  20. if($player->isNameLocked())
  21. $main_content .= '<font color="red"> [NAMELOCK]</font>';
  22. $main_content .= '</TD></TR>';
  23. if($player->getOldName())
  24. {
  25. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  26. if($player->isNameLocked())
  27. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Proposition:</TD><TD>'.$player->getOldName().'</TD></TR>';
  28. else
  29. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Old name:</TD><TD>'.$player->getOldName().'</TD></TR>';
  30. }
  31. // BEGIN Position Showing *** Fixed by jerryb1988 from otfans.net
  32. $group = $player->getGroup();
  33. if ($group == 2){$group_name = 'Tutor';}
  34. if ($group == 3){$group_name = 'Senior Tutor';}
  35. if ($group == 4){$group_name = 'Gamemaster';}
  36. if ($group == 5){$group_name = 'Community Manager';}
  37. if ($group == 6){$group_name = 'GOD';}
  38.  
  39. if($group != 1)
  40. {
  41.  
  42. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  43. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Position:</TD><TD>'.$group_name.'</TD></TR>';
  44. }
  45. // END Position Showing
  46. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  47. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Sex:</TD><TD>';
  48. $main_content .= ($player->getSex() == 0) ? 'female' : 'male';
  49. $main_content .= '</TD></TR>';
  50. if($config['site']['show_marriage_info'])
  51. {
  52. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  53. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Marital status:</TD><TD>';
  54. $marriage = new OTS_Player();
  55. $marriage->load($player->getMarriage());
  56. if($marriage->isLoaded())
  57. $main_content .= 'married to <a href="?subtopic=characters&name='.urlencode($marri age->getName()).'"><b>'.$marriage->getName().'</b></a></TD></TR>';
  58. else
  59. $main_content .= 'single</TD></TR>';
  60. }
  61. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  62. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Profession:</TD><TD>'.$vocation_name[$player->getWorld()][$player->getPromotion()][$player->getVocation()].'</TD></TR>';
  63. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  64. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Level:</TD><TD>'.$player->getLevel().'</TD></TR>';
  65. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  66. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>World:</TD><TD>'.$config['site']['worlds'][$player->getWorld()].'</TD></TR>';
  67. if(!empty($towns_list[$player->getWorld()][$player->getTownId()]))
  68. {
  69. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  70. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Residence:</TD><TD>'.$towns_list[$player->getWorld()][$player->getTownId()].'</TD></TR>';
  71. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  72. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Balance:</TD><TD>'.$player->getBalance().' Gold Coins.</TD></TR>';
  73.  
  74.  
  75. }
  76.  
  77. $rank_of_player = $player->getRank();
  78. if(!empty($rank_of_player))
  79. {
  80. {
  81. $guild_id = $rank_of_player->getGuild()->getId();
  82. $guild_name = $rank_of_player->getGuild()->getName();
  83. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  84. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Guild Membership:</TD><TD>'.$rank_of_player->getName().' of the <a href="?subtopic=guilds&action=show&guild='.$guild_ id.'">'.$guild_name.'</a></TD></TR>';
  85. }
  86. }
  87. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  88. $lastlogin = $player->getLastLogin();
  89. if(empty($lastlogin))
  90. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Last login:</TD><TD>Never logged in.</TD></TR>';
  91. else
  92. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Last login:</TD><TD>'.date("j F Y, g:i a", $lastlogin).'</TD></TR>';
  93. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  94. if($config['site']['show_creationdate'] && $player->getCreated())
  95. {
  96. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Created:</TD><TD>'.date("j F Y, g:i a", $player->getCreated()).'</TD></TR>';
  97. }
  98. if($config['site']['show_vip_status'])
  99. {
  100. $id = $player->getCustomField("id");
  101. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  102. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD WIDTH=10%>Vip Status:</TD>';
  103. $vip = $SQL->query('SELECT * FROM player_storage WHERE player_id = '.$id.' AND `key` = '.$config['site']['show_vip_storage'].';')->fetch();
  104. if($vip == false) {
  105. $main_content .= '<TD><span class="red"><B>NOT VIP</B></TD></TR>';
  106. }
  107. else
  108. {
  109. $main_content .= '<TD><span class="green"><B>VIP</B></TD></TR>';
  110. }
  111. // ** OUTFIT SHOWER
  112. $bgcolor = (($number_of_rows++ % 2 == 1) ? $config['site']['darkborder'] : $config['site']['lightborder']);
  113. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Outfit:</TD><TD><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(outfitter.php?id='.$player->getLookType().'&addons='.$player->getLookAddons().'&head='.$player->getLookHead().'&body='.$player->getLookBody().'&legs='.$player->getLookLegs().'&feet='.$player->getLookFeet().'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></TD></TR>';
  114. //END
  115. $comment = $player->getComment();
  116. $newlines = array("\r\n", "\n", "\r");
  117. $comment_with_lines = str_replace($newlines, '<br />', $comment, $count);
  118. if($count < 50)
  119. $comment = $comment_with_lines;
  120. if(!empty($comment))
  121. {
  122. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  123. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD VALIGN=top>Comment:</TD><TD>'.$comment.'</TD></TR>';
  124. }
  125.  
  126. }
  127.  
  128.  
  129. //frags list by Xampy
  130.  
  131. $frags_limit = 10; // frags limit to show? // default: 10
  132. $player_frags = $SQL->query('SELECT `player_deaths`.*, `players`.`name`, `killers`.`unjustified` FROM `player_deaths` LEFT JOIN `killers` ON `killers`.`death_id` = `player_deaths`.`id` LEFT JOIN `player_killers` ON `player_killers`.`kill_id` = `killers`.`id` LEFT JOIN `players` ON `players`.`id` = `player_deaths`.`player_id` WHERE `player_killers`.`player_id` = '.$player->getId().' ORDER BY `date` DESC LIMIT 0,'.$frags_limit.';');
  133. if(count($player_frags))
  134. {
  135. $frags = 0;
  136. $frag_add_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><br><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Frags</B></TD></TR>';
  137. foreach($player_frags as $frag)
  138. {
  139. $frags++;
  140. if(is_int($number_of_rows / 2)) $bgcolor = $config['site']['darkborder']; else $bgcolor = $config['site']['lightborder'];
  141. $number_of_rows++;
  142. $frag_add_content .= "<tr bgcolor=\"".$bgcolor."\">
  143. <td width=\"20%\" align=\"center\">".date("j M Y, H:i", $frag['date'])."</td>
  144. <td>".(($player->getSex() == 0) ? 'She' : 'He')." fragged <a href=\"index.php?subtopic=characters&name=".$frag[name]."\">".$frag[name]."</a> at level ".$frag[level]."";
  145.  
  146. $frag_add_content .= ". (".(($frag[unjustified] == 0) ? "<font size=\"1\" color=\"green\">Justified</font>" : "<font size=\"1\" color=\"red\">Unjustified</font>").")</td></tr>";
  147. }
  148. if($frags >= 1)
  149. $main_content .= $frag_add_content . '</TABLE>';
  150. }
  151. // end of frags list by Xampy
  152.  
  153. //deaths list
  154. $player_deaths = $SQL->query('SELECT `id`, `date`, `level` FROM `player_deaths` WHERE `player_id` = '.$player->getId().' ORDER BY `date` DESC LIMIT 0,10;');
  155. foreach($player_deaths as $death)
  156. {
  157. if(is_int($number_of_rows / 2))
  158. $bgcolor = $config['site']['darkborder']; else $bgcolor = $config['site']['lightborder'];
  159.  
  160. $number_of_rows++; $deads++;
  161. $dead_add_content .= "<tr bgcolor=\"".$bgcolor."\">
  162. <td width=\"20%\" align=\"center\">".date("j M Y, H:i", $death['date'])."</td>
  163. <td>";
  164. $killers = $SQL->query("SELECT environment_killers.name AS monster_name, players.name AS player_name, players.deleted AS player_exists FROM killers LEFT JOIN environment_killers ON killers.id = environment_killers.kill_id
  165. LEFT JOIN player_killers ON killers.id = player_killers.kill_id LEFT JOIN players ON players.id = player_killers.player_id
  166. WHERE killers.death_id = ".$SQL->quote($death['id'])." ORDER BY killers.final_hit DESC, killers.id ASC")->fetchAll();
  167.  
  168. $i = 0;
  169. $count = count($killers);
  170. foreach($killers as $killer)
  171. {
  172. $i++;
  173. if(in_array($i, array(1, $count)))
  174. $killer['monster_name'] = str_replace(array("an ", "a "), array("", ""), $killer['monster_name']);
  175.  
  176. if($killer['player_name'] != "")
  177. {
  178. if($i == 1)
  179. $dead_add_content .= "Killed at level <b>".$death['level']."</b> by ";
  180. else if($i == $count)
  181. $dead_add_content .= " and by ";
  182. else
  183. $dead_add_content .= ", ";
  184.  
  185. if($killer['monster_name'] != "")
  186. $dead_add_content .= $killer['monster_name']." summoned by ";
  187.  
  188. if($killer['player_exists'] == 0)
  189. $dead_add_content .= "<a href=\"index.php?subtopic=characters&name=".urlenc ode($killer['player_name'])."\">";
  190.  
  191. $dead_add_content .= $killer['player_name'];
  192. if($killer['player_exists'] == 0)
  193. $dead_add_content .= "</a>";
  194. }
  195. else
  196. {
  197. if($i == 1)
  198. $dead_add_content .= "Died at level <b>".$death['level']."</b> by ";
  199. else if($i == $count)
  200. $dead_add_content .= " and by ";
  201. else
  202. $dead_add_content .= ", ";
  203.  
  204. $dead_add_content .= $killer['monster_name'];
  205. }
  206.  
  207. if($i == $count)
  208. $dead_add_content .= ".";
  209. }
  210.  
  211. $dead_add_content .= ".</td></tr>";
  212. }
  213.  
  214. if($deads > 0)
  215. $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Deaths</B></TD></TR>' . $dead_add_content . '</TABLE><br />';
  216.  
  217. //end
  218. if(!$player->getHideChar()) {
  219. $main_content .= '<TABLE BORDER=0><TR><TD></TD></TR></TABLE><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Account Information</B></TD></TR>';
  220. if($account->getRLName())
  221. {
  222. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  223. $main_content .= '<TR BGCOLOR='.$config['site']['lightborder'].'><TD WIDTH=20%>Real name:</TD><TD>'.$account->getRLName().'</TD></TR>';
  224. }
  225. if($account->getLocation())
  226. {
  227. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  228. $main_content .= '<TR BGCOLOR='.$config['site']['darkborder'].'><TD WIDTH=20%>Location:</TD><TD>'.$account->getLocation().'</TD></TR>';
  229. }
  230. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  231. if($account->getLastLogin())
  232. $main_content .= '<TR BGCOLOR='.$config['site']['lightborder'].'><TD WIDTH=20%>Last login:</TD><TD>'.date("j F Y, g:i a", $account->getLastLogin()).'</TD></TR>';
  233. else
  234. $main_content .= '<TR BGCOLOR='.$config['site']['lightborder'].'><TD WIDTH=20%>Last login:</TD><TD>Never logged in.</TD></TR>';
  235. if($account->getCreated())
  236. {
  237. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  238. $main_content .= '<TR BGCOLOR='.$config['site']['lightborder'].'><TD WIDTH=20%>Created:</TD><TD>'.date("j F Y, g:i a", $account->getCreated()).'</TD></TR>';
  239. }
  240. /*Vip Status*/
  241. if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
  242. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Vip Status:</TD><TD>';
  243. $main_content .= ($account->getPlayerVip_Time()) ? '<b><font color="green">Vip Account</font></b>' : '<b><font color="red">Not Vip Account</font></b>';
  244. if($account->isBanned())
  245. if($account->getBanTime() > 0)
  246. $main_content .= '<font color="red"> [Banished until '.date("j F Y, G:i", $account->getBanTime()).']</font>';
  247. else
  248. $main_content .= '<font color="red"> [Banished FOREVER]</font>';
  249. $main_content .= '</TD></TR></TABLE>';
  250. $main_content .= '<br><TABLE BORDER=0><TR><TD></TD></TR></TABLE><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=5 CLASS=white><B>Characters</B></TD></TR>
  251. <TR BGCOLOR='.$config['site']['darkborder'].'><TD><B>Name</B></TD><TD><B>World</B></TD><TD><B>Level</B></TD><TD><b>Status</b></TD><TD><B>*</B></TD></TR>';
  252. $account_players = $account->getPlayersList();
  253. $account_players->orderBy('name');
  254. $player_number = 0;
  255. foreach($account_players as $player_list)
  256. {
  257. if(!$player_list->getHideChar())
  258. {
  259. $player_number++;
  260. if(is_int($player_number / 2))
  261. $bgcolor = $config['site']['darkborder'];
  262. else
  263. $bgcolor = $config['site']['lightborder'];
  264. if(!$player_list->isOnline())
  265. $player_list_status = '<font color="red">Offline</font>';
  266. else
  267. $player_list_status = '<font color="green">Online</font>';
  268. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD WIDTH=52%><NOBR>'.$player_number.'.*'.$player_list->getName();
  269. $main_content .= ($player_list->isDeleted()) ? '<font color="red"> [DELETED]</font>' : '';
  270. $main_content .= '</NOBR></TD><TD WIDTH=15%>'.$config['site']['worlds'][$player_list->getWorld()].'</TD><TD WIDTH=25%>'.$player_list->getLevel().' '.$vocation_name[$player_list->getWorld()][$player_list->getPromotion()][$player_list->getVocation()].'</TD><TD WIDTH="8%"><b>'.$player_list_status.'</b></TD><TD><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION="?subtopic=characters" METHOD=post><TR><TD><INPUT TYPE=hidden NAME=name VALUE="'.$player_list->getName().'"><INPUT TYPE=image NAME="View '.$player_list->getName().'" ALT="View '.$player_list->getName().'" SRC="'.$layout_name.'/images/buttons/sbutton_view.gif" BORDER=0 WIDTH=120 HEIGHT=18></TD></TR></FORM></TABLE></TD></TR>';
  271. }
  272. }
  273. $main_content .= '</TABLE></TD><TD><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD></TR></TABLE>';
  274. }
  275. $main_content .= '<BR><BR><FORM ACTION="?subtopic=characters" METHOD=post><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Search Character</B></TD></TR><TR><TD BGCOLOR="'.$config['site']['darkborder'].'"><TABLE BORDER=0 CELLPADDING=1><TR><TD>Name:</TD><TD><INPUT NAME="name" VALUE=""SIZE=29 MAXLENGTH=29></TD><TD><INPUT TYPE=image NAME="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18></TD></TR></TABLE></TD></TR></TABLE></FORM>';
  276. $main_content .= '</TABLE>';
  277. }
  278. else
  279. $search_errors[] = 'Character <b>'.$name.'</b> does not exist.';
  280. }
  281. else
  282. $search_errors[] = 'This name contains invalid letters. Please use only A-Z, a-z and space.';
  283. if(!empty($search_errors))
  284. {
  285. $main_content .= '<div class="SmallBox" > <div class="MessageContainer" > <div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /></div> <div class="BoxFrameEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="BoxFrameEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="ErrorMessage" > <div class="BoxFrameVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></div> <div class="BoxFrameVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></div> <div class="AttentionSign" style="background-image:url('.$layout_name.'/images/content/attentionsign.gif);" /></div><b>The Following Errors Have Occurred:</b><br/>';
  286. foreach($search_errors as $search_error)
  287. $main_content .= '<li>'.$search_error;
  288. $main_content .= '</div> <div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /></div> <div class="BoxFrameEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="BoxFrameEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> </div></div><br/>';
  289. $main_content .= '<BR><FORM ACTION="?subtopic=characters" METHOD=post><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Search Character</B></TD></TR><TR><TD BGCOLOR="'.$config['site']['darkborder'].'"><TABLE BORDER=0 CELLPADDING=1><TR><TD>Name:</TD><TD><INPUT NAME="name" VALUE=""SIZE=29 MAXLENGTH=29></TD><TD><INPUT TYPE=image NAME="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18></TD></TR></TABLE></TD></TR></TABLE></FORM>';
  290. }
  291. }
  292. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement