registercode.php (3358B)
1 <?php if (!defined('OR_TITLE')) die('Forbidden'); ?> 2 <form name="" target="_self" data-target="view" action="./" data-method="registercode" data-action="login" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="or-form login" data-async="false" data-autosave="false"><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="login" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="registercode" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> 3 <div class="line logo"> 4 <div class="label"> 5 <img src="themes/default/images/logo_register.png ?>" 6 border="0" /> 7 </div> 8 <div class="input"> 9 <h2> 10 <?php echo langHtml('logo_register') ?> 11 </h2> 12 <p> 13 <?php echo langHtml('logo_register_text') ?> 14 </p> 15 16 </div> 17 </div> 18 </div> 19 <div class="line"> 20 <div class="label"> 21 <span><?php echo nl2br(encodeHtml(htmlentities(lang('USER_REGISTER_CODE')))); ?></span> 22 </div> 23 <div class="input"> 24 <div class="inputholder"><input id="<?php echo REQUEST_ID ?>_code" name="<?php if ('') echo ''.'_' ?>code<?php if (false) echo '_disabled' ?>" type="text" maxlength="256" class="focus" value="<?php echo Text::encodeHtml('') ?>" /><?php if (false) { ?><input type="hidden" name="code" value="<?php '' ?>"/><?php } ?></div> 25 </div> 26 </div> 27 <div class="line"> 28 <div class="label"> 29 <span><?php echo nl2br(encodeHtml(htmlentities(lang('USER_USERNAME')))); ?></span> 30 </div> 31 <div class="input"> 32 <div class="inputholder"><input id="<?php echo REQUEST_ID ?>_username" name="<?php if ('') echo ''.'_' ?>username<?php if (false) echo '_disabled' ?>" type="text" maxlength="256" class="" value="<?php echo Text::encodeHtml(@$username) ?>" /><?php if (false) { ?><input type="hidden" name="username" value="<?php $username ?>"/><?php } ?></div> 33 </div> 34 </div> 35 <div class="line"> 36 <div class="label"> 37 <span><?php echo nl2br(encodeHtml(htmlentities(lang('USER_PASSWORD')))); ?></span> 38 </div> 39 <div class="input"> 40 <div class="inputholder"><input type="password" name="password" id="<?php echo REQUEST_ID ?>_password" size="25" maxlength="256" class="" value="" /></div> 41 </div> 42 </div> 43 <div class="line"> 44 <div class="label"> 45 <span><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_DATABASE')))); ?></span> 46 </div> 47 <div class="input"> 48 <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_dbid" name="dbid" title="" class=""<?php if (count($dbids)<=1) echo ' disabled="disabled"'; ?> size="1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($dbids,'actdbid',0,0) ?><?php if (count($dbids)==0) { ?><input type="hidden" name="dbid" value="" /><?php } ?><?php if (count($dbids)==1) { ?><input type="hidden" name="dbid" value="<?php echo array_keys($dbids)[0] ?>" /><?php } ?> 49 </select></div> 50 </div> 51 </div> 52 <div class="or-form-actionbar"><input type="button" class="or-form-btn or-form-btn--secondary or-form-btn--cancel" value="<?php echo lang("CANCEL") ?>" /><input type="submit" class="or-form-btn or-form-btn--primary or-form-btn--save" value="<?php echo lang('BUTTON_OK') ?>" /></div></form>