Advertisement
Guest User

createaccount.php

a guest
Feb 29th, 2016
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.27 KB | None | 0 0
  1. <?php
  2. if(!defined('INITIALIZED'))
  3. exit;
  4. //CREATE ACCOUNT FORM PAGE
  5. if($action == "")
  6. {
  7. $main_content .= '<script type="text/javascript">
  8. var accountHttp;
  9. function checkAccount()
  10. {
  11. if(document.getElementById("account_name").value=="")
  12. {
  13. document.getElementById("acc_name_check").innerHTML = \'<b><font color="red">Please enter account name.</font></b>\';
  14. return;
  15. }
  16. accountHttp=GetXmlHttpObject();
  17. if (accountHttp==null)
  18. {
  19. return;
  20. }
  21. var account = document.getElementById("account_name").value;
  22. var url="?subtopic=ajax_check_account&account=" + account + "&uid="+Math.random();
  23. accountHttp.onreadystatechange=AccountStateChanged;
  24. accountHttp.open("GET",url,true);
  25. accountHttp.send(null);
  26. }
  27. function AccountStateChanged()
  28. {
  29. if (accountHttp.readyState==4)
  30. {
  31. document.getElementById("acc_name_check").innerHTML=accountHttp.responseText;
  32. }
  33. }
  34. var emailHttp;
  35. //sprawdza czy dane konto istnieje czy nie
  36. function checkEmail()
  37. {
  38. if(document.getElementById("email").value=="")
  39. {
  40. document.getElementById("email_check").innerHTML = \'<b><font color="red">Please enter e-mail.</font></b>\';
  41. return;
  42. }
  43. emailHttp=GetXmlHttpObject();
  44. if (emailHttp==null)
  45. {
  46. return;
  47. }
  48. var email = document.getElementById("email").value;
  49. var url="?subtopic=ajax_check_email&email=" + email + "&uid="+Math.random();
  50. emailHttp.onreadystatechange=EmailStateChanged;
  51. emailHttp.open("GET",url,true);
  52. emailHttp.send(null);
  53. }
  54. function EmailStateChanged()
  55. {
  56. if (emailHttp.readyState==4)
  57. {
  58. document.getElementById("email_check").innerHTML=emailHttp.responseText;
  59. }
  60. }
  61. function validate_required(field,alerttxt)
  62. {
  63. with (field)
  64. {
  65. if (value==null||value==""||value==" ")
  66. {
  67. alert(alerttxt);
  68. return false;
  69. }
  70. else
  71. {
  72. return true;
  73. }
  74. }
  75. }
  76. function validate_email(field,alerttxt)
  77. {
  78. with (field)
  79. {
  80. apos=value.indexOf("@");
  81. dotpos=value.lastIndexOf(".");
  82. if (apos<1||dotpos-apos<2)
  83. {
  84. alert(alerttxt);
  85. return false;
  86. }
  87. else
  88. {
  89. return true;
  90. }
  91. }
  92. }
  93. function validate_form(thisform)
  94. {
  95. with (thisform)
  96. {
  97. if(validate_required(account_name,"Please enter name of new account!")==false)
  98. {
  99. account_name.focus();
  100. return false;
  101. }
  102. if(validate_required(email,"Please enter your e-mail!")==false)
  103. {
  104. email.focus();
  105. return false;
  106. }
  107. if(validate_email(email,"Invalid e-mail format!")==false)
  108. {
  109. email.focus();
  110. return false;
  111. }
  112. if(verifpass==1)
  113. {
  114. if(validate_required(passor,"Please enter password!")==false)
  115. {
  116. passor.focus();
  117. return false;
  118. }
  119. if (validate_required(passor2,"Please repeat password!")==false)
  120. {
  121. passor2.focus();
  122. return false;
  123. }
  124. if(passor2.value!=passor.value)
  125. {
  126. alert(\'Repeated password is not equal to password!\');
  127. return false;
  128. }
  129. }
  130. if(verifya==1)
  131. {
  132. if (validate_required(verify,"Please enter verification code!")==false)
  133. {
  134. verify.focus();return false;
  135. }
  136. }
  137. if(rules.checked==false)
  138. {
  139. alert(\'To create account you must accept server rules!\');
  140. return false;
  141. }
  142. }
  143. }
  144. </script>';
  145. $main_content .= 'To play on '.htmlspecialchars($config['server']['serverName']).' you need an account.
  146. All you have to do to create your new account is to enter your email address, password to new account, verification code from picture and to agree to the terms presented below.
  147. If you have done so, your account name, password and e-mail address will be shown on the following page and your account and password will be sent
  148. to your email address along with further instructions.<BR><BR>
  149. <FORM ACTION="?subtopic=createaccount&action=saveaccount" onsubmit="return validate_form(this)" METHOD=post>
  150. <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
  151. <TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Create an '.htmlspecialchars($config['server']['serverName']).' Account</B></TD></TR>
  152. <TR><TD BGCOLOR="'.$config['site']['darkborder'].'"><TABLE BORDER=0 CELLSPACING=8 CELLPADDING=0>
  153. <TR><TD>
  154. <TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0>';
  155. $main_content .= '<TR><TD width="150" valign="top"><B>Account name: </B></TD><TD colspan="2"><INPUT id="account_name" NAME="reg_name" onkeyup="checkAccount();" VALUE="" SIZE=30 MAXLENGTH=30><BR><font size="1" face="verdana,arial,helvetica">(Please enter your new account name)</font></TD></TR>
  156. <TR><TD width="150"><b>Name status:</b></TD><TD colspan="2"><b><div id="acc_name_check">Please enter your account name.</div></b></TD></TR>
  157. <TR><TD width="150" valign="top"><B>Email address: </B></TD><TD colspan="2"><INPUT id="email" NAME="reg_email" onkeyup="checkEmail();" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Your email address is required to recovery an '.htmlspecialchars($config['server']['serverName']).' account)</font></TD></TR>
  158. <TR><TD width="150"><b>Email status:</b></TD><TD colspan="2"><b><div id="email_check">Please enter your e-mail.</div></b></TD></TR>';
  159. if(!$config['site']['create_account_verify_mail'])
  160. $main_content .= '<script type="text/javascript">var verifpass=1;</script>
  161. <TR><TD width="150" valign="top"><B>Password: </B></TD><TD colspan="2"><INPUT TYPE="password" id="passor" NAME="reg_password" VALUE="" SIZE=30 MAXLENGTH=29><BR><font size="1" face="verdana,arial,helvetica">(Here write your password to new account on '.htmlspecialchars($config['server']['serverName']).')</font></TD></TR>
  162. <TR><TD width="150" valign="top"><B>Repeat password: </B></TD><TD colspan="2"><INPUT TYPE="password" id="passor2" NAME="reg_password2" VALUE="" SIZE=30 MAXLENGTH=29><BR><font size="1" face="verdana,arial,helvetica">(Repeat your password)</font></TD></TR>';
  163. else
  164. $main_content .= '<script type="text/javascript">var verifpass=0;</script>';
  165. if ($config['site']['select_flag']) {
  166. // Country list
  167. $main_content .= '<tr><td width="150" valign="top"><b>Country: </b></td><td colspan="2"><select name="reg_country" class="w230">
  168. <option value="unknown">Please choose your country</option>
  169. <option value="af">Afghanistan</option><option value="al">Albania</option><option value="dz">Algeria</option><option value="ad">Andorra</option><option value="ao">Angola</option><option value="ai">Anguilla</option><option value="ar">Argentina</option><option value="am">Armenia</option><option value="au">Australia</option><option value="at">Austria</option><option value="az">Azerbaijan</option><option value="bs">Bahamas</option><option value="bh">Bahrain</option><option value="bd">Bangladesh</option><option value="bb">Barbados</option><option value="by">Belarus</option><option value="be">Belgium</option><option value="bj">Benin</option><option value="bt">Bhutan</option><option value="bo">Bolivia</option><option value="ba">Bosnia and Herzegovina</option><option value="bw">Botswana</option><option value="br">Brazil</option><option value="bg">Bulgaria</option><option value="bf">Burkina Faso</option>
  170. <option value="kh">Cambodia</option><option value="cm">Cameroon</option><option value="ca">Canada</option><option value="td">Chad</option><option value="cl">Chile</option><option value="cn">China</option><option value="co">Colombia</option><option value="cd">Congo</option><option value="cr">Costa Rica</option><option value="hr">Croatia</option><option value="cu">Cuba</option><option value="cz">Czech Republic</option><option value="dk">Denmark</option><option value="do">Dominican Republic</option><option value="ec">Ecuador</option><option value="eg">Egypt</option><option value="ee">Estonia</option><option value="et">Ethiopia</option><option value="fj">Fiji</option><option value="fi">Finland</option><option value="fr">France</option><option value="ga">Gabon</option><option value="de">Germany</option><option value="gh">Ghana</option><option value="gr">Greece</option><option value="ht">Haiti</option><option value="hk">Hong Kong</option>
  171. <option value="hu">Hungary</option><option value="id">Indonesia</option><option value="iq">Iraq</option><option value="ie">Ireland</option><option value="il">Israel</option><option value="it">Italy</option>
  172. <option value="jm">Jamaica</option><option value="jp">Japan</option><option value="kz">Kazakhstan</option><option value="lv">Latvia</option><option value="lt">Lithuania</option><option value="lu">Luxembourg</option><option value="mx">Mexico</option><option value="ma">Morocco</option><option value="nl">Netherlands</option><option value="nz">New Zealand</option><option value="no">Norway</option><option value="om">Oman</option><option value="pk">Pakistan</option><option value="pa">Panama</option><option value="pg">Papua New Guinea</option><option value="py">Paraguay</option><option value="pe">Peru</option><option value="pl">Poland</option><option value="pt">Portugal</option><option value="pr">Puerto Rico</option><option value="qa">Qatar</option><option value="ro">Romania</option><option value="ru">Russian Federation</option><option value="sk">Slovakia</option><option value="za">South Africa</option><option value="es">Spain</option><option value="se">Sweden</option><option value="ch">Switzerland</option><option value="tw">Taiwan</option><option value="tr">Turkey</option><option value="ua">Ukraine</option><option value="gb">United Kingdom</option><option value="us">United States</option><option value="uy">Uruguay</option>
  173. <option value="ve">Venezuela</option><option value="vn">Vietnam</option><option value="zm">Zambia</option><option value="zw">Zimbabwe</option>
  174. </select></td></tr>';
  175. }
  176. if($config['site']['verify_code'])
  177. $main_content .= '<script type="text/javascript">var verifya=1;</script><TR><TD width="150"><B>Code: </B></TD><TD colspan="2"><img src="?subtopic=imagebuilder&image_refresher='.mt_rand(1,99999).'" border="0" alt="Image Verification is missing, please contact the administrator"></TD></TR>
  178. <TR><TD width="150" valign="top"><B>Verification Code: </B></TD><TD colspan="2"><INPUT id="verify" NAME="reg_code" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Here write verification code from picture)</font></TD></TR>';
  179. else
  180. $main_content .= '<script type="text/javascript">var verifya=0;</script>';
  181. $main_content .= '</TABLE>
  182. </TD></TR>
  183. <TR><TD>
  184. <TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0><TR><TD>
  185. Please review the following terms and state your agreement below.
  186. </TD></TR>
  187. <TR><TD>
  188. <B>'.htmlspecialchars($config['server']['serverName']).' Rules</B><BR>
  189. <TEXTAREA ROWS="16" WRAP="physical" COLS="75" READONLY="true">';
  190. //load server rules from file
  191. include("pages/tibiarules.php");
  192. $main_content .= '</TEXTAREA>
  193. </TD></TR></TABLE>
  194. </TD></TR>
  195. <TR><TD>
  196. <TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0>
  197. <TR><TD>
  198. <INPUT TYPE="checkbox" NAME="rules" id="rules" value="true" /><label for="rules"><u> I agree to the '.htmlspecialchars($config['server']['serverName']).' Rules.</u></lable><BR>
  199. </TD></TR>
  200. <TR><TD>
  201. If you fully agree to these terms, click on the "I Agree" button in order to create an '.htmlspecialchars($config['server']['serverName']).' account.<BR>
  202. If you do not agree to these terms or do not want to create an '.htmlspecialchars($config['server']['serverName']).' account, please click on the "Cancel" button.
  203. </TD></TR></TABLE>
  204. </TD></TR>
  205. </TABLE></TD></TR>
  206. </TABLE>
  207. <BR>
  208. <TABLE BORDER=0 WIDTH=100%>
  209. <TR><TD ALIGN=center>
  210. <IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=120 HEIGHT=1 BORDER=0><BR>
  211. </TD><TD ALIGN=center VALIGN=top>
  212. <INPUT TYPE=image NAME="I Agree" SRC="'.$layout_name.'/images/buttons/sbutton_iagree.gif" BORDER=0 WIDTH=120 HEIGHT=18>
  213. </FORM>
  214. </TD><TD ALIGN=center>
  215. <FORM ACTION="?subtopic=latestnews" METHOD=post>
  216. <INPUT TYPE=image NAME="Cancel" SRC="'.$layout_name.'/images/buttons/sbutton_cancel.gif" BORDER=0 WIDTH=120 HEIGHT=18>
  217. </FORM>
  218. </TD><TD ALIGN=center>
  219. <IMG SRC="/images/blank.gif" WIDTH=120 HEIGHT=1 BORDER=0><BR>
  220. </TD></TR>
  221. </TABLE>
  222. </TD>
  223. <TD><IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD>
  224. </TR>
  225. </TABLE>';
  226. }
  227. //CREATE ACCOUNT PAGE (save account in database)
  228. if($action == "saveaccount")
  229. {
  230. $reg_name = strtoupper(trim($_POST['reg_name']));
  231. $reg_email = trim($_POST['reg_email']);
  232. $reg_password = trim($_POST['reg_password']);
  233. $reg_code = trim($_POST['reg_code']);
  234. if ($config['site']['select_flag']) {
  235. $reg_country = trim($_POST['reg_country']);
  236. }
  237. //FIRST check
  238. //check e-mail
  239. if(empty($reg_name))
  240. $reg_form_errors[] = "Please enter account name.";
  241. elseif(!check_account_name($reg_name))
  242. $reg_form_errors[] = "Invalid account name format. Use only A-Z and numbers 0-9.";
  243. if(empty($reg_email))
  244. $reg_form_errors[] = "Please enter your email address.";
  245. else
  246. {
  247. if(!check_mail($reg_email))
  248. $reg_form_errors[] = "E-mail address is not correct.";
  249. }
  250. if($config['site']['verify_code'])
  251. {
  252. //check verification code
  253. $string = strtoupper($_SESSION['string']);
  254. $userstring = strtoupper($reg_code);
  255. session_destroy();
  256. if(empty($string))
  257. $reg_form_errors[] = "Information about verification code in session is empty.";
  258. else
  259. {
  260. if(empty($userstring))
  261. $reg_form_errors[] = "Please enter verification code.";
  262. else
  263. {
  264. if($string != $userstring)
  265. $reg_form_errors[] = "Verification code is incorrect.";
  266. }
  267. }
  268. }
  269. //check password
  270. if(empty($reg_password) && !$config['site']['create_account_verify_mail'])
  271. $reg_form_errors[] = "Please enter password to your new account.";
  272. elseif(!$config['site']['create_account_verify_mail'])
  273. {
  274. if(!check_password($reg_password))
  275. $reg_form_errors[] = "Password contains illegal chars (a-z, A-Z and 0-9 only!) or lenght.";
  276. }
  277. //SECOND check
  278. //check e-mail address in database
  279. if(empty($reg_form_errors))
  280. {
  281. if($config['site']['one_email'])
  282. {
  283. $test_email_account = new Account();
  284. //load account with this e-mail
  285. $test_email_account->findByEmail($reg_email);
  286. if($test_email_account->isLoaded())
  287. $reg_form_errors[] = "Account with this e-mail address already exist in database.";
  288. }
  289. $account_db = new Account();
  290. $account_db->find($reg_name);
  291. if($account_db->isLoaded())
  292. $reg_form_errors[] = 'Account with this name already exist.';
  293. }
  294. // ----------creates account-------------(save in database)
  295. if(empty($reg_form_errors))
  296. {
  297. //create object 'account' and generate new acc. number
  298. if($config['site']['create_account_verify_mail'])
  299. {
  300. $reg_password = '';
  301. for ($i = 1; $i <= 6; $i++)
  302. $reg_password .= mt_rand(0,9);
  303. }
  304. $reg_account = new Account();
  305. // saves account information in database
  306. $reg_account->setName($reg_name);
  307. $reg_account->setPassword($reg_password);
  308. $reg_account->setEMail($reg_email);
  309. $reg_account->setCreateDate(time());
  310. $reg_account->setCreateIP(Visitor::getIP());
  311. if ($config['site']['select_flag']) {
  312. $reg_account->setFlag($reg_country);
  313. } else {
  314. $reg_account->setFlag(Website::getCountryCode(long2ip(Visitor::getIP())));
  315. }
  316. if(isset($config['site']['newaccount_premdays']) && $config['site']['newaccount_premdays'] > 0)
  317. {
  318. $reg_account->set("premdays", $config['site']['newaccount_premdays']);
  319. $reg_account->set("lastday", time());
  320. }
  321. $reg_account->save();
  322. //show information about registration
  323. if($config['site']['send_emails'] && $config['site']['create_account_verify_mail'])
  324. {
  325. $mailBody = '<html>
  326. <body>
  327. <h3>Your account name and password!</h3>
  328. <p>You or someone else registred on server <a href="'.$config['server']['url'].'"><b>'.htmlspecialchars($config['server']['serverName']).'</b></a> with this e-mail.</p>
  329. <p>Account name: <b>'.htmlspecialchars($reg_name).'</b></p>
  330. <p>Password: <b>'.htmlspecialchars(trim($reg_password)).'</b></p>
  331. <br />
  332. <p>After login you can:</p>
  333. <li>Create new characters
  334. <li>Change your current password
  335. <li>Change your current e-mail
  336. </body>
  337. </html>';
  338. $mail = new PHPMailer();
  339. if ($config['site']['smtp_enabled'])
  340. {
  341. $mail->IsSMTP();
  342. $mail->Host = $config['site']['smtp_host'];
  343. $mail->Port = (int)$config['site']['smtp_port'];
  344. $mail->SMTPAuth = $config['site']['smtp_auth'];
  345. $mail->Username = $config['site']['smtp_user'];
  346. $mail->Password = $config['site']['smtp_pass'];
  347. }
  348. else
  349. $mail->IsMail();
  350. $mail->IsHTML(true);
  351. $mail->From = $config['site']['mail_address'];
  352. $mail->AddAddress($reg_email);
  353. $mail->Subject = $config['server']['serverName']." - Registration";
  354. $mail->Body = $mailBody;
  355. if($mail->Send())
  356. {
  357. $main_content .= 'Your account has been created. Check your e-mail. See you in Tibia!<BR><BR>';
  358. $main_content .= '<TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
  359. <TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Account Created</B></TD></TR>
  360. <TR><TD BGCOLOR="'.$config['site']['darkborder'].'">
  361. <TABLE BORDER=0 CELLPADDING=1><TR><TD>
  362. <BR>Your account name is <b>'.$reg_name.'</b>.
  363. <BR><b><i>You will receive e-mail (<b>'.htmlspecialchars($reg_email).'</b>) with your password.</b></i><br>';
  364. $main_content .= 'You will need the account name and your password to play on '.htmlspecialchars($config['server']['serverName']).'.
  365. Please keep your account name and password in a safe place and
  366. never give your account name or password to anybody.<BR><BR>';
  367. $main_content .= '<br /><small>These informations were send on email address <b>'.htmlspecialchars($reg_email).'</b>. Please check your inbox/spam folder.';
  368. }
  369. else
  370. {
  371. $main_content .= '<br /><small>An error occorred while sending email! Account not created. Try again.</small>';
  372. $reg_account->delete();
  373. }
  374. }
  375. else
  376. {
  377. $main_content .= 'Your account has been created. Now you can login and create your first character. See you in Tibia!<BR><BR>';
  378. $main_content .= '<TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
  379. <TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Account Created</B></TD></TR>
  380. <TR><TD BGCOLOR="'.$config['site']['darkborder'].'">
  381. <TABLE BORDER=0 CELLPADDING=1><TR><TD>
  382. <BR>Your account name is <b>'.htmlspecialchars($reg_name).'</b><br>You will need the account name and your password to play on '.htmlspecialchars($config['server']['serverName']).'.
  383. Please keep your account name and password in a safe place and
  384. never give your account name or password to anybody.<BR><BR>';
  385. if($config['site']['send_emails'] && $config['site']['send_register_email'])
  386. {
  387. $mailBody = '<html>
  388. <body>
  389. <h3>Your account name and password!</h3>
  390. <p>You or someone else registred on server <a href="'.$config['server']['url'].'"><b>'.htmlspecialchars($config['server']['serverName']).'</b></a> with this e-mail.</p>
  391. <p>Account name: <b>'.htmlspecialchars($reg_name).'</b></p>
  392. <p>Password: <b>'.htmlspecialchars(trim($reg_password)).'</b></p>
  393. <br />
  394. <p>After login you can:</p>
  395. <li>Create new characters
  396. <li>Change your current password
  397. <li>Change your current e-mail
  398. </body>
  399. </html>';
  400. $mail = new PHPMailer();
  401. if ($config['site']['smtp_enabled'])
  402. {
  403. $mail->IsSMTP();
  404. $mail->Host = $config['site']['smtp_host'];
  405. $mail->Port = (int)$config['site']['smtp_port'];
  406. $mail->SMTPAuth = $config['site']['smtp_auth'];
  407. $mail->Username = $config['site']['smtp_user'];
  408. $mail->Password = $config['site']['smtp_pass'];
  409. }
  410. else
  411. $mail->IsMail();
  412. $mail->IsHTML(true);
  413. $mail->From = $config['site']['mail_address'];
  414. $mail->AddAddress($reg_email);
  415. $mail->Subject = $config['server']['serverName']." - Registration";
  416. $mail->Body = $mailBody;
  417. if($mail->Send())
  418. $main_content .= '<br /><small>These informations were send on email address <b>'.htmlspecialchars($reg_email).'</b>.';
  419. else
  420. $main_content .= '<br /><small>An error occorred while sending email (<b>'.htmlspecialchars($reg_email).'</b>)!</small>';
  421. }
  422. }
  423. $main_content .= '</TD></TR></TABLE></TD></TR></TABLE><BR><BR>';
  424. }
  425. else
  426. {
  427. //SHOW ERRORs if data from form is wrong
  428. $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/>';
  429. foreach($reg_form_errors as $show_msg)
  430. {
  431. $main_content .= '<li>'.$show_msg.'</li>';
  432. }
  433. $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/>
  434. <BR>
  435. <CENTER>
  436. <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION=?subtopic=createaccount METHOD=post><TR><TD>
  437. <INPUT TYPE=hidden NAME=email VALUE="">
  438. <INPUT TYPE=image NAME="Back" ALT="Back" SRC="'.$layout_name.'/images/buttons/sbutton_back.gif" BORDER=0 WIDTH=120 HEIGHT=18>
  439. </TD></TR></FORM></TABLE>
  440. </CENTER>';
  441. }
  442. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement