<!-- HUB DETAILS --> <form action="<?php echo "{$PHP_SELF}"; ?> " method="post"> <table cellpadding="0" cellspacing="0" class="config"> <tr> <td><input type="hidden" name="hubID" value="<?php echo "{$hubID}"; ?> "></td> <td align="right"><font size="+1"><strong><u>Main Config</u></strong></font> </td> </tr> <tr><?php hidden_form("rowID", $rowID); ?> <td><input type="hidden" name="action" value="update_bot"></td></tr> <tr><?php line_form("Bot Name", 20, bcName, $bcName); ?> </tr> <tr><?php line_form("Bot Owner", 20, bcMaster, $bcMaster); ?> </tr> <tr><?php line_form("Bot IP / hostname", 40, bcIP, $bcIP); ?> </tr> <tr><?php
function confirmNewUser($uname, $name, $email, $user_avatar, $user_icq, $user_occ, $user_from, $user_intrest, $user_sig, $user_viewemail, $user_aim, $user_yim, $user_msnm, $pass, $vpass, $user_lnl, $C1, $C2, $C3, $C4, $C5, $C6, $C7, $C8, $M1, $M2, $T1, $T2, $B1) { global $smilies, $short_user, $minpass, $memberpass; $uname = strip_tags($uname); if ($user_viewemail != 1) { $user_viewemail = "0"; } $stop = userCheck($uname, $email); if ($memberpass) { if (isset($pass) and "{$pass}" != "{$vpass}") { $stop = "<p class=\"text-xs-center\"><i class=\"fa fa-exclamation\"></i> " . translate("Both passwords are different. They need to be identical.") . "</p><br />"; } elseif (strlen($pass) < $minpass) { $stop = "<p class=\"text-xs-center\"><i class=\"fa fa-exclamation\"></i> " . translate("Sorry, your password must be at least") . " <strong>{$minpass}</strong> " . translate("characters long") . "</p><br />"; } } if (!$stop) { include "header.php"; echo '<h2>' . translate("User") . '</h2>'; echo '<h2><i class="fa fa-user"></i> Votre fiche d\'inscription</h2>'; include "modules/sform/extend-user/aff_extend-user.php"; hidden_form(); global $charte; if (!$charte) { echo "<p class=\"lead text-warning text-xs-center\"><i class=\"fa fa-exclamation\"></i> " . translate("You must accept the terms of use of this website") . "</p>"; echo "<input type=\"hidden\" name=\"op\" value=\"only_newuser\">\n <input class=\"btn btn-secondary\" type=\"submit\" value=\"" . translate("Go Back") . "\" />\n </form>"; } else { echo "<input type=\"hidden\" name=\"op\" value=\"finish\">\n <input class=\"btn btn-primary\" type=\"submit\" value=\"" . translate("Finish") . "\" />\n </form>"; } include "footer.php"; } else { message_error($stop, "new user"); } }
<!-- END HUB CONFIG MENU --> <tr> <td valign="top"> <!-- HUB DETAILS --> <table cellpadding="0" cellspacing="0" class="config"> <tr> <td><input type="hidden" name="hubID" value="<?php echo "{$hubID}"; ?> "> <input type="hidden" name="action" value="update"></td> <td align="right"><font size="+1"><strong><u>Bot Details</u></strong></font> </td> </tr> <tr><?php hidden_form("HubID", $hubID); ?> </tr> <tr><?php dual_select_form(Yes, No, "Auto-Connect", hcAutoConnect, $hcAutoConnect); ?> </tr> <tr><?php noedit_form("Hub ID", $hubID); ?> </tr> <tr><?php noedit_form("Hub Status", $hcStatus); ?> </tr> <tr><?php