Location: PHPKode > projects > OpenSupports > Opensupports_v2_EN/support/registro.php
<?php
session_start();
require "config.php";
if(isset($_SESSION['user']))
{
header('Location: login.php');
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>


<title>Support Center - <?php echo $titulo; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><!-- default stylesheet -->
<link rel="stylesheet" type="text/css" media="all" href="index_files/index.css">
<style type="text/css">
<!--
body {
	background-image: url(../integration/images/bg.jpg);
	margin-top: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link rel="stylesheet" href="index_files/style.css" type="text/css">
<!-- default javascript -->
<script language="Javascript">
</script>
<script language="Javascript" src="index_files/basejs.js" type="text/javascript"></script>
<style type="text/css">
<!--
.Estilo1 {FONT-FAMILY: Verdana, Arial, Helvetica; font-size: 11px;}
.Estilo2 {color: #FF0000}
.Estilo20 {color: #000099}
-->
</style></head>
<body><center>
  <table border="0" cellpadding="0" cellspacing="0" width="830">
  </table>
  <table align="center" border="0" cellpadding="0" cellspacing="0" width="780">
    <tbody>
      <tr>
        <td style="background-image: url(../integration/images/text-bg.jpg);" valign="top"><table align="center" border="0" cellpadding="0" cellspacing="0" width="750">
            <tbody>
              <tr>
                <td><table width="100%" border="0" cellpadding="3" cellspacing="0" background="index_files/button-right.jpg">
                    <tbody>
                      <tr>
                        <td class="smalltext" align="left" valign="top"><b><font color="#707070"><a href="index.php" id="navlink"></a><a href="index.php">Support Center </a> <img src="login_files/blueblockarrow.gif" width="8" height="8"> <a href="registro.php">Register</a> </font></b></td>
                      </tr>
                    </tbody>
                </table></td>
              </tr>
              <tr>
                <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tbody>
                      <tr>
                        <td height="1" width="222"><img src="index_files/space.gif" height="1" width="1"></td>
                        <td height="1" width="12"><img src="index_files/space.gif" height="1" width="5"></td>
                        <td height="1" width="501"><img src="index_files/space.gif" height="1" width="210"></td>
                        <td height="1" width="5"><img src="index_files/space.gif" height="1" width="5"></td>
                      </tr>
                      <tr>
                        <td align="left" valign="top" width="222"><table class="tborder" border="0" cellpadding="0" cellspacing="0" width="1%">
                            <!-- BEGIN LOGIN BOX -->
                            <tbody>
                              <tr class="tcat">
                                <td align="left" width="1"><img src="index_files/space.gif" height="21" width="1"></td>
                                <td align="left" width="8"><img src="index_files/blockarrow.gif" height="8" width="8"></td>
                                <td width="100" align="left" valign="middle">&nbsp;<span class="smalltext"><strong><font color="#ffffff">Login</font></strong></span></td>
                                <td align="right" width="130">&nbsp;</td>
                              </tr>
                              <tr>
                                <td colspan="4" bgcolor="#f5f5f5"><form name="loginform" action="login.php" method="post">
                                    <table border="0" cellpadding="2" cellspacing="1" width="100%">
                                      <tbody>
                                        <tr>
                                          <td class="smalltext" width="46%">Email:</td>
                                          <td width="54%"><input name="emailcorreoelectronico" type="text" class="logintext" id="emailcorreoelectronico" value=""></td>
                                        </tr>
                                        <tr>
                                          <td class="smalltext">Password:</td>
                                          <td><b><font color="#707070">
                                            <input name="pass" type="password" class="loginpassword" id="pass2" value="">
                                          </font></b></td>
                                        </tr>
                                        <tr>
                                          <td class="smalltext">&nbsp;</td>
                                          <td>&nbsp;</td>
                                        </tr>
                                        <tr>
                                          <td class="smalltext">&nbsp;</td>
                                          <td><input name="Submit2" value="Login" class="yellowbutton" type="submit">
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                                </form>
                                    <script language="Javascript">
						document.loginform.loginemail.focus();
						  </script></td>
                              </tr>
                              <!-- END LOGIN BOX -->
                              <tr class="borderrow1">
                                <td colspan="4" align="left" height="1"><img src="index_files/space.gif" height="1" width="1"></td>
                              </tr>
                              <tr>
                                <td colspan="4" bgcolor="#f5f5f5">&nbsp;</td>
                              </tr>
                            </tbody>
                        </table></td>
                        <td width="12"><img src="index_files/space.gif" height="1" width="5"></td>
                        <td align="left" valign="top"><table width="100%" height="276" border="0" cellpadding="0" cellspacing="0">
                            <tbody>
                              <tr>
                                <td align="left" valign="top"><table class="sectiontitlebg" border="0" cellpadding="2" cellspacing="0" width="100%">
                                    <tbody>
                                      <tr>
                                        <td width="1"><img src="login_files/blueblockarrow.gif"></td>
                                        <td><strong><font color="#666666">Register</font></strong></td>
                                      </tr>
                                    </tbody>
                                  </table>
                                    <table border="0" cellpadding="2" cellspacing="0" width="100%">
                                      <tbody>
                                        <tr>
                                          <td colspan="2"><span class="Estilo1"><font color="#666666">Join to our Support Center to send tickets </font></span></td>
                                        </tr>
                                      </tbody>
                                    </table>
                                  <form name="form1" method="post" action="reg2.php">
                                      <table width="100%" height="211" border="0" cellpadding="3" cellspacing="1">
                                        <tbody>
                                          <tr class="row1">
                                            <td width="131" height="19" align="center" valign="middle">Name : </td>
                                            <td width="350" align="center" valign="middle"><div align="left">
                                                <input name="nombredelformulario" type="text" id="nombredelformulario" value="" size="25">
                                            </div></td>
                                          </tr>
                                          <tr class="row1">
                                            <td height="37" align="center" valign="middle">Email:</td>
                                            <td align="center" valign="middle"><div align="left">
                                                <input name="correoelectronico" type="text" id="correoelectronico" value="" size="25">
                                                <span class="Estilo2">* </span></div></td>
                                          </tr>
                                          <tr class="row1">
                                            <td height="37" align="center" valign="middle">Password:</td>
                                            <td align="center" valign="middle"><div align="left">
                                                <input name="passwordrequerido" type="password" id="passwordrequerido" value="" size="25">
                                              (More than 6 characters)</div></td>
                                          </tr>
                                          <tr class="row1">
                                            <td height="37" align="center" valign="middle">Rewrite Password: </td>
                                            <td align="center" valign="middle"><div align="left">
                                                <input name="rpass" type="password" id="rpass" value="" size="25">
                                            </div></td>
                                          </tr>
                                          <tr class="row1">
                                            <td height="37" align="center" valign="middle">Captcha:<span class="Estilo2">**</span></td>
                                            <td align="center" valign="middle"><div align="left">
                                                <?php
$ar=rand(1,10);


$todo = mysql_query("select * from `code` WHERE id='$ar'");

$verify = mysql_fetch_array($todo);
?>
                                                <input name="valueverfity" type="hidden" id="valueverfity" value="<?php echo $verify['valor']; ?>">
                                                <input name="codigo" type="text" id="codigo">
                                                <img src="<?php echo "imgcode/" . $verify['img']; ?>" border="0"></div></td>
                                          </tr>
                                          <tr class="row1">
                                            <td height="37" align="center" valign="middle">&nbsp;</td>
                                            <td align="center" valign="middle"><div align="left">
                                                <input type="submit" name="Submit" value="Register">
                                            </div></td>
                                          </tr>
                                        </tbody>
                                      </table>
                                  </form>
                                  <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                      <tbody>
                                        <tr>
                                          <td align="left" valign="top"><br>
                                          </td>
                                          <td width="5"></td>
                                        </tr>
                                      </tbody>
                                  </table>
                                  <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                      <tbody>
                                        <tr>
                                          <td align="left" valign="top"><p><span class="Estilo2"> *</span> Email should be correct, we will send you an email when one of your tickets is answer. <br>
                                                  <span class="Estilo2">**</span> Enter the verification code, witch is in the image, on the text field. All in capital letters. </p>
                                              <hr>
                                              <br>
                                            - Register does not requires email confirmation.<br>
                                            - All the fields are <span id="result_box" lang="en">requested</span>.</td>
                                        </tr>
                                      </tbody>
                                  </table></td>
                                <td width="5"><img src="index_files/space.gif" height="1" width="5"></td>
                              </tr>
                            </tbody>
                        </table></td>
                        <td height="1" width="5"><img src="index_files/space.gif" height="1" width="5"></td>
                      </tr>
                    </tbody>
                </table></td>
              </tr>
              <tr>
                <td colspan="2" height="15"><div align="center"><!-- // You can not remove or edit the following copyrights, doing so will void the license and any rights you have to use this script // -->
			<div align="center">Power by <a href="http://www.opensupports.com" class="Estilo20">OpenSupports</a> © 2009 - <?php echo date("Y"); ?>. All Rights reserved </div>
			<!-- //
			Ends Copyrights //--></td>
              </tr>
            </tbody>
        </table></td>
      </tr>
    </tbody>
  </table>
</center></body></html>
Return current item: OpenSupports