Guest User

Untitled

a guest
Jun 13th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.60 KB | None | 0 0
  1. <?php
  2. if($logged)
  3. {
  4. // type (1 = question; 2 = answer)
  5. // status (1 = open; 2 = new message; 3 = closed;)
  6.  
  7. $dark = $config['site']['darkborder'];
  8. $light = $config['site']['lightborder'];
  9.  
  10. $priority = array(1 => "Baixa", "Normal", "Alta");
  11. $tags = array(1 => "[Vendas]", "[Suporte]", "[Parceria]", "[Bug]", "[Outros]");
  12.  
  13. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'] and $_REQUEST['control'] == "true")
  14. {
  15. if(empty($_REQUEST['id']) and empty($_REQUEST['acc']) or !is_numeric($_REQUEST['acc']) or !is_numeric($_REQUEST['id']) )
  16. $bug[1] = $SQL->query('SELECT * FROM '.$SQL->tableName('z_helpdesk').' where `type` = 1 order by `uid` desc');
  17.  
  18. if(!empty($_REQUEST['id']) and is_numeric($_REQUEST['id']) and !empty($_REQUEST['acc']) and is_numeric($_REQUEST['acc']))
  19. $bug[2] = $SQL->query('SELECT * FROM '.$SQL->tableName('z_helpdesk').' where `account` = '.$_REQUEST['acc'].' and `id` = '.$_REQUEST['id'].' and `type` = 1')->fetch();
  20.  
  21. if(!empty($_REQUEST['id']) and is_numeric($_REQUEST['id']) and !empty($_REQUEST['acc']) and is_numeric($_REQUEST['acc']))
  22. {
  23. if(!empty($_REQUEST['reply']))
  24. $reply=true;
  25.  
  26. $account = $ots->createObject('Account');
  27. $account->load($_REQUEST['acc']);
  28. $account->isLoaded();
  29. $players = $account->getPlayersList();
  30.  
  31. if(!$reply)
  32. {
  33. if($bug[2]['status'] == 2)
  34. $value = "<font color=gray><b>Aguardando</b> <img src=images/bug/waiting.gif></font>";
  35. elseif($bug[2]['status'] == 4)
  36. $value = "<font color=green><b>Respondido</b></font> <img src=images/bug/ok.png>";
  37. elseif($bug[2]['status'] == 3)
  38. $value = "<font color=red><b>Fechado</b></font> <img src=images/bug/closed.png>";
  39. elseif($bug[2]['status'] == 1)
  40. $value = "<font color=#4169E1><b>Nova Resposta</b></font> <img src=images/bug/new.png>";
  41.  
  42. $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Atendimento</B></TD></TR>';
  43. $main_content .= '<TR BGCOLOR="'.$dark.'"><td width=40%><img src=images/bug/report.png> <b>Assunto:</b></td><td> '.$tags[$bug[2]['tag']].' '.$bug[2]['subject'].' '.$value.'</td></tr>';
  44. $main_content .= '<TR BGCOLOR="'.$light.'"><td><img src=images/bug/pri.gif> <b>Prioridade:</b></td><td> <img src=images/bug/'.$bug[2]['priority'].'.png> '.$priority[$bug[2]['priority']].'';
  45. $main_content .= '<TR BGCOLOR="'.$dark.'"><td><img src=images/bug/tibia.png> <b>Enviado por:</b></td><td>';
  46.  
  47.  
  48. foreach($players as $player)
  49. {
  50. $main_content .= '<img src=images/bug/t.png> '.$player->getName().'<br>';
  51. }
  52.  
  53. $main_content .= '</td></tr>';
  54. $main_content .= '<TR BGCOLOR="'.$light.'"><td colspan=2><img src=images/bug/des.png><b>Descrição:</b></td></tr>';
  55. $main_content .= '<TR BGCOLOR="'.$dark.'"><td colspan=2>'.nl2br($bug[2]['text']).'</td></tr>';
  56. $main_content .= '</TABLE>';
  57.  
  58. $answers = $SQL->query('SELECT * FROM '.$SQL->tableName('z_helpdesk').' where `account` = '.$_REQUEST['acc'].' and `id` = '.$_REQUEST['id'].' and `type` = 2 order by `reply`');
  59.  
  60. $ot = $config['site']['worlds'];
  61.  
  62. foreach($answers as $answer)
  63. {
  64. if($answer['who'] == 1)
  65. $who = "<img src=images/bug/staff.gif> <font color=red><b>Staff</b></font>";
  66. else
  67. $who = "<img src=images/bug/player.gif> <font color=green><b>Player</b></font>";
  68.  
  69. $main_content .= '<br><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Resposta #'.$answer['reply'].'</B></TD></TR>';
  70. $main_content .= '<TR BGCOLOR="'.$dark.'"><td width=70%><img src=images/bug/tibia.png><i><b>Enviado por:</b></i></td><td>'.$who.'</td></tr>';
  71. $main_content .= '<TR BGCOLOR="'.$light.'"><td colspan=2><img src=images/bug/des.png><i><b>Descrição:</b></i></td></tr>';
  72. $main_content .= '<TR BGCOLOR="'.$dark.'"><td colspan=2>'.nl2br($answer['text']).'</td></tr>';
  73. $main_content .= '</TABLE>';
  74. }
  75. if($bug[2]['status'] <= 4)
  76. $main_content .= '<br><a href="index.php?subtopic=helpdesk&control=true&id='.$_REQUEST['id'].'&acc='.$_REQUEST['acc'].'&reply=true"><b>[Responder]</b></a>';
  77. }
  78. else
  79. {
  80. //if($bug[2]['status'] < 3)
  81. //{
  82. $reply = $SQL->query('SELECT MAX(reply) FROM `z_helpdesk` where `account` = '.$_REQUEST['acc'].' and `id` = '.$_REQUEST['id'].' and `type` = 2')->fetch();
  83. $reply = $reply[0] + 1;
  84. $iswho = $SQL->query('SELECT * FROM `z_helpdesk` where `account` = '.$_REQUEST['acc'].' and `id` = '.$_REQUEST['id'].' and `type` = 2 order by `reply` desc limit 1')->fetch();
  85.  
  86. if(isset($_POST['finish']))
  87. {
  88. if(empty($_POST['text']))
  89. $error[] = "<font color=black><b>Por favor, preencha a descrição.</b></font>";
  90. //if($iswho['who'] == 1)
  91. //$error[] = "<font color=black><b>Você precisa aguardar a resposta do usuário.</b></font>";
  92. if(empty($_POST['status']))
  93. $error[] = "<font color=black><b>Status cannot be empty.</b></font>";
  94.  
  95.  
  96. if(!empty($error))
  97. {
  98. foreach($error as $errors)
  99. $main_content .= ''.$errors.'<br>';
  100. }
  101. else
  102. {
  103. $type = 2;
  104. $INSERT = $SQL->query('INSERT INTO `z_helpdesk` (`account`,`id`,`text`,`reply`,`type`, `who`) VALUES ('.$SQL->quote($_REQUEST['acc']).','.$SQL->quote($_REQUEST['id']).','.$SQL->quote($_POST['text']).','.$SQL->quote($reply).','.$SQL->quote($type).','.$SQL->quote(1).')');
  105. $UPDATE = $SQL->query('UPDATE `z_helpdesk` SET `status` = '.$_POST['status'].' where `account` = '.$_REQUEST['acc'].' and `id` = '.$_REQUEST['id'].'');
  106. header('Location: index.php?subtopic=helpdesk&control=true&id='.$_REQUEST['id'].'&acc='.$_REQUEST['acc'].'');
  107. }
  108. }
  109. $main_content .= '<br><form method="post" action=""><table><tr><td>Mensagem:</i></td><td><textarea name="text" rows="3" cols="25"></textarea></td></tr><tr><td><br><font color=gray><b>Aguardando</b></font> <img src=images/bug/waiting.gif></td><td><input type=radio name=status value=2></td></tr><tr><td><font color=green><b>Respondido <img src=images/bug/ok.png /></b></font></td><td><input type=radio name=status value=4></td></tr><tr><td><font color=red><b>Fechado <img src=images/bug/closed.png></b></font></td><td><input type=radio name=status value=3></td></tr></table><br><input type="submit" name="finish" value="Submit" class="input2"/></form>';
  110. //}
  111. //else
  112. //{
  113. //$main_content .= "<br><font color=black><b>You can't add answer to closed bug thread.</b></font>";
  114. //}
  115. }
  116.  
  117. $post=true;
  118. }
  119. if(!$post)
  120. {
  121. $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD colspan=2 CLASS=white><B>Atendimento Admin</B></TD></TR>';
  122. $i=1;
  123. foreach($bug[1] as $report)
  124. {
  125.  
  126.  
  127. if($report['status'] == 2)
  128. $value = "<font color=gray><b>Aguardando</b> <img src=images/bug/waiting.gif></font>";
  129. elseif($report['status'] == 3)
  130. $value = "<font color=red><b>Fechado</b></font> <img src=images/bug/closed.png>";
  131. elseif($report['status'] == 4)
  132. $value = "<font color=green><b>Respondido </b></font> <img src=images/bug/ok.png>";
  133. elseif($report['status'] == 1)
  134. $value = "<font color=#4169E1><b>Nova Resposta</b></font> <img src=images/bug/new.png>";
  135.  
  136. if(is_int($i / 2))
  137. {
  138. $bgcolor = $dark;
  139. }
  140. else
  141. {
  142. $bgcolor = $light;
  143. }
  144.  
  145. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><td width=75%><img src=images/bug/'.$report['priority'].'.png> <a href="index.php?subtopic=helpdesk&control=true&id='.$report['id'].'&acc='.$report['account'].'">'.$tags[$report['tag']].' '.$report['subject'].'</a></td><td>'.$value.'</td></tr>';
  146.  
  147. $showed=true;
  148. $i++;
  149. }
  150. $main_content .= '</TABLE>';
  151. }
  152. }
  153. else
  154. {
  155. $acc = $account_logged->getId();
  156. $account_players = $account_logged->getPlayersList();
  157.  
  158. foreach($account_players as $player)
  159. {
  160. $allow=true;
  161. }
  162.  
  163. if(!empty($_REQUEST['id']))
  164. $id = addslashes(htmlspecialchars(trim($_REQUEST['id'])));
  165.  
  166. if(empty($_REQUEST['id']))
  167. $bug[1] = $SQL->query('SELECT * FROM '.$SQL->tableName('z_helpdesk').' where `account` = '.$account_logged->getId().' and `type` = 1 order by `id` desc');
  168.  
  169. if(!empty($_REQUEST['id']) and is_numeric($_REQUEST['id']))
  170. $bug[2] = $SQL->query('SELECT * FROM '.$SQL->tableName('z_helpdesk').' where `account` = '.$account_logged->getId().' and `id` = '.$id.' and `type` = 1')->fetch();
  171. else
  172. $bug[2] = NULL;
  173.  
  174. if(!empty($_REQUEST['id']) and $bug[2] != NULL)
  175. {
  176. if(!empty($_REQUEST['reply']))
  177. $reply=true;
  178.  
  179. if(!$reply)
  180. {
  181.  
  182.  
  183. if($bug[2]['status'] == 1)
  184. $value = "<font color=gray><b>Aguardando</b> <img src=images/bug/waiting.gif></font>";
  185. elseif($bug[2]['status'] == 2)
  186. $value = "<font color=#4169E1><b>Nova Resposta</b></font> <img src=images/bug/new.png>";
  187. elseif($bug[2]['status'] == 3)
  188. $value = "<font color=red><b>Fechado</b></font> <img src=images/bug/closed.png>";
  189. elseif($bug[2]['status'] == 4)
  190. $value = "<font color=green><b>Respondido</b></font> <img src=images/bug/ok.png>";
  191.  
  192.  
  193. $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Atendimento</B></TD></TR>';
  194. $main_content .= '<TR BGCOLOR="'.$dark.'"><td width=40%><img src=images/bug/report.png><b> Assunto:</b></td><td> '.$tags[$bug[2]['tag']].' '.$bug[2]['subject'].' '.$value.'</td></tr>';
  195. $main_content .= '<TR BGCOLOR="'.$light.'"><td><img src=images/bug/pri.gif> <b>Prioridade:</b></td><td> <img src=images/bug/'.$bug[2]['priority'].'.png> '.$priority[$bug[2]['priority']].'';
  196.  
  197. $main_content .= '<TR BGCOLOR="'.$dark.'"><td><img src=images/bug/tibia.png> <b>Enviado por:</b></td><td>';
  198. $main_content .= '<img src=images/bug/t.png> You <br>';
  199.  
  200.  
  201. $main_content .= '<TR BGCOLOR="'.$light.'"><td colspan=2><img src=images/bug/des.png><b>Descrição:</b></td></tr>';
  202. $main_content .= '<TR BGCOLOR="'.$dark.'"><td colspan=2>'.nl2br($bug[2]['text']).'</td></tr>';
  203. $main_content .= '</TABLE>';
  204.  
  205. $answers = $SQL->query('SELECT * FROM '.$SQL->tableName('z_helpdesk').' where `account` = '.$account_logged->getId().' and `id` = '.$id.' and `type` = 2 order by `reply`');
  206. foreach($answers as $answer)
  207. {
  208. if($answer['who'] == 1)
  209. $who = "<img src=images/bug/staff.gif> <font color=red><b>Staff</b></font>";
  210. else
  211. $who = "<img src=images/bug/player.gif> <font color=green><b>YOU</b></font>";
  212.  
  213. $main_content .= '<br><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Answer #'.$answer['reply'].'</B></TD></TR>';
  214. $main_content .= '<TR BGCOLOR="'.$dark.'"><td width=70%><img src=images/bug/tibia.png><i><b> Enviado por:</b></i></td><td>'.$who.'</td></tr>';
  215. $main_content .= '<TR BGCOLOR="'.$light.'"><td colspan=2><img src=images/bug/des.png><i><b>Descrição:</b></i></td></tr>';
  216. $main_content .= '<TR BGCOLOR="'.$dark.'"><td colspan=2>'.nl2br($answer['text']).'</td></tr>';
  217. $main_content .= '</TABLE>';
  218. }
  219. if($bug[2]['status'] != 3)
  220. $main_content .= '<br><a href="index.php?subtopic=helpdesk&id='.$id.'&reply=true"><b>[Responder]</b></a>';
  221. }
  222. else
  223. {
  224. //if($bug[2]['status'] != 3)
  225. //{
  226. $reply = $SQL->query('SELECT MAX(reply) FROM `z_helpdesk` where `account` = '.$acc.' and `id` = '.$id.' and `type` = 2')->fetch();
  227. $reply = $reply[0] + 1;
  228. $iswho = $SQL->query('SELECT * FROM `z_helpdesk` where `account` = '.$acc.' and `id` = '.$id.' and `type` = 2 order by `reply` desc limit 1')->fetch();
  229.  
  230. if(isset($_POST['finish']))
  231. {
  232. if(empty($_POST['text']))
  233. $error[] = "<font color=black><b>Descrição não pode ser vazia.</b></font>";
  234. if($iswho['who'] == 0)
  235. $error[] = "<font color=black><b>Você precisa aguardar a resposta da staff.</b></font>";
  236. if(!$allow)
  237. $error[] = "<font color=black><b>Você não possui nenhum char na conta.</b></font>";
  238.  
  239. if(!empty($error))
  240. {
  241. foreach($error as $errors)
  242. $main_content .= ''.$errors.'<br>';
  243. }
  244. else
  245. {
  246. $type = 2;
  247. $INSERT = $SQL->query('INSERT INTO `z_helpdesk` (`account`,`id`,`text`,`reply`,`type`) VALUES ('.$SQL->quote($acc).','.$SQL->quote($id).','.$SQL->quote($_POST['text']).','.$SQL->quote($reply).','.$SQL->quote($type).')');
  248. $UPDATE = $SQL->query('UPDATE `z_helpdesk` SET `status` = 1 where `account` = '.$acc.' and `id` = '.$id.'');
  249. header('Location: index.php?subtopic=helpdesk&id='.$id.'');
  250. }
  251. }
  252. $main_content .= '<br><form method="post" action=""><table><tr><td><i>Description</i></td><td><textarea name="text" rows="15" cols="35"></textarea></td></tr></table><br><input type="submit" name="finish" value="Submit" class="input2"/></form>';
  253. //}
  254. //else
  255. //
  256. //$main_content .= "<br><font color=black><b>You can't add answer to closed bug thread.</b></font>";
  257. //}
  258. }
  259.  
  260. $post=true;
  261. }
  262. elseif(!empty($_REQUEST['id']) and $bug[2] == NULL)
  263. {
  264. $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD CLASS=white><B>Atendimento</B></TD></TR>';
  265. $main_content .= '<TR BGCOLOR="'.$dark.'"><td><i>Ticket doesn\'t exist.</i></td></tr>';
  266. $main_content .= '</TABLE>';
  267. $post=true;
  268. }
  269.  
  270. if(!$post)
  271. {
  272. if($_REQUEST['add'] != TRUE)
  273. {
  274. $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD colspan=2 CLASS=white><B>Atendimento</B></TD></TR>';
  275. foreach($bug[1] as $report)
  276. {
  277. if($report['status'] == 1)
  278. $value = "<font color=gray><b>Aguardando</b> <img src=images/bug/waiting.gif></font>";
  279. elseif($report['status'] == 2)
  280. $value = "<font color=#4169E1><b>Nova Resposta</b></font> <img src=images/bug/new.png>";
  281. elseif($report['status'] == 3)
  282. $value = "<font color=red><b>Fechado</b></font> <img src=images/bug/closed.png>";
  283. elseif($report['status'] == 4)
  284. $value = "<font color=green><b>Respondido </b></font> <img src=images/bug/ok.png>";
  285.  
  286. if(is_int($report['id'] / 2))
  287. {
  288. $bgcolor = $dark;
  289. }
  290. else
  291. {
  292. $bgcolor = $light;
  293. }
  294.  
  295. $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><td width=75%><img src=images/bug/'.$report['priority'].'.png> <a href="index.php?subtopic=helpdesk&id='.$report['id'].'">'.$tags[$report['tag']].' '.$report['subject'].'</a></td><td>'.$value.'</td></tr>';
  296.  
  297. $showed=true;
  298. }
  299.  
  300. if(!$showed)
  301. {
  302. $main_content .= '<TR BGCOLOR="'.$dark.'"><td><i>Nenhum atendimento solicitado.</i></td></tr>';
  303. }
  304. $main_content .= '</TABLE>';
  305.  
  306. $main_content .= '<br><a href="index.php?subtopic=helpdesk&add=true"><b>[Abrir Chamado]</b></a>';
  307. }
  308. elseif($_REQUEST['add'] == TRUE)
  309. {
  310. $thread = $SQL->query('SELECT * FROM `z_helpdesk` where `account` = '.$acc.' and `type` = 1 order by `id` desc')->fetch();
  311. $id_next = $SQL->query('SELECT MAX(id) FROM `z_helpdesk` where `account` = '.$acc.' and `type` = 1')->fetch();
  312. $id_next = $id_next[0] + 1;
  313.  
  314. if(empty($thread))
  315. $thread['status'] = 3;
  316.  
  317. if(isset($_POST['submit']))
  318. {
  319. //if($thread['status'] != 3)
  320. //$error[] = "<font color=black><b>Can be only 1 open bug thread.</b></font>";
  321. if(empty($_POST['subject']))
  322. $error[] = "<font color=black><b>Assunto cannot be empty.</b></font>";
  323. if(empty($_POST['text']))
  324. $error[] = "<font color=black><b>Description cannot be empty.</b></font>";
  325. if(!$allow)
  326. $error[] = "<font color=black><b>You haven't any characters on account.</b></font>";
  327. if(empty($_POST['tags']))
  328. $error[] = "<font color=black><b>Tag cannot be empty.</b></font>";
  329.  
  330. if(!empty($error))
  331. {
  332. foreach($error as $errors)
  333. $main_content .= ''.$errors.'<br>';
  334. }
  335. else
  336. {
  337. $type = 1;
  338. $status = 1;
  339. $INSERT = $SQL->query('INSERT INTO `z_helpdesk` (`account`,`id`,`text`,`type`,`subject`,`status`,`tag`,`priority`) VALUES ('.$SQL->quote($acc).','.$SQL->quote($id_next).','.$SQL->quote($_POST['text']).','.$SQL->quote($type).','.$SQL->quote($_POST['subject']).','.$SQL->quote($status).','.$SQL->quote($_POST['tags']).','.$SQL->quote($_POST['priority']).')');
  340. header('Location: index.php?subtopic=helpdesk&id='.$id_next.'');
  341. }
  342.  
  343. }
  344. $main_content .= '<br><form method="post" action=""><font size=4><b>Atendimento</b></font><br><br><br><table><tr><td><img src=images/bug/report.png> <b>Assunto:</b></td><td><input type=text name="subject"/></td></tr><tr><td><img src=images/bug/des.png><b>Descrição:</b></td><td><textarea name="text" rows="4" cols="15"></textarea></td></tr><tr><td><img src=images/bug/tag.png> <b>TAG:</b></td><td><select name="tags"><option value="">SELECT</option>';
  345.  
  346. for($i = 1; $i <= count($tags); $i++)
  347. {
  348. $main_content .= '<option value="' . $i . '">' . $tags[$i] . '</option>';
  349. }
  350.  
  351. $main_content .= '</td></tr><tr><td><br><img src=images/bug/pri.gif> <b>Prioridade:</b></td><td><br><select name="priority"><option value="">SELECT</option>';
  352.  
  353. for($i = 1; $i <= count($priority); $i++)
  354. {
  355. $main_content .= '<option value="' . $i . '">' . $priority[$i] . '</option>';
  356. }
  357.  
  358.  
  359. $main_content .= '</select></tr></tr></table><br><input type="submit" name="submit" value="Submit" class="input2"/></form>';
  360. }
  361. }
  362. }
  363.  
  364. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'] and empty($_REQUEST['control']))
  365. {
  366. $main_content .= '<br><br><a href="index.php?subtopic=helpdesk&control=true">[ADMIN PANEL]</a>';
  367. }
  368. }
  369. else
  370. {
  371. $main_content .= 'Please enter your account name and your password.<br/><a href="?subtopic=createaccount" >Create an account</a> if you do not have one yet.<br/><br/><form action="?subtopic=helpdesk" method="post" ><div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" >Account Login</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td class="LabelV" ><span >Account Name:</span></td><td style="width:100%;" ><input type="password" name="account_login" SIZE="10" maxlength="10" ></td></tr><tr><td class="LabelV" ><span >Password:</span></td><td><input type="password" name="password_login" size="30" maxlength="29" ></td></tr> </table> </div> </table></div></td></tr><br/><table width="100%" ><tr align="center" ><td><table border="0" cellspacing="0" cellpadding="0" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif" ></div></div></td><tr></form></table></td><td><table border="0" cellspacing="0" cellpadding="0" ><form action="?subtopic=lostaccount" method="post" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Account lost?" alt="Account lost?" src="'.$layout_name.'/images/buttons/_sbutton_accountlost.gif" ></div></div></td></tr></form></table></td></tr></table>';
  372. }
  373. ?>
Advertisement
Add Comment
Please, Sign In to add comment