Server : Apache System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 User : www ( 1000) PHP Version : 5.6.40 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/saimikebio.com/mobile/ecshopjcw/templates/ |
<!-- $Id: vote_info.htm 14216 2008-03-10 02:27:21Z testyang $ --> {include file="pageheader.htm"} <script type="text/javascript" src="../data/static/js/calendar.php?lang={$cfg_lang}"></script> <link href="../data/static/js/calendar/calendar.css" rel="stylesheet" type="text/css" /> <div class="main-div"> <form action="vote.php" method="post" name="theForm" enctype="multipart/form-data" onsubmit="return validate()"> <table width="100%" id="general-table"> <tr> <td class="label">{$lang.vote_name}</td> <td> <input type='text' name='vote_name' value='{$vote_arr.vote_name}' size='40' /> </td> </tr> <tr> <td class="label">{$lang.begin_date}</td> <td> <input name="start_time" type="text" id="start_time" size="22" value='{$vote_arr.start_time}' readonly="readonly" /><input name="selbtn1" type="button" id="selbtn1" onclick="return showCalendar('start_time', '%Y-%m-%d', false, false, 'selbtn1');" value="{$lang.btn_select}" class="button"/> </td> </tr> <tr> <td class="label">{$lang.end_date}</td> <td> <input name="end_time" type="text" id="end_time" size="22" value='{$vote_arr.end_time}' readonly="readonly" /><input name="selbtn2" type="button" id="selbtn2" onclick="return showCalendar('end_time', '%Y-%m-%d', false, false, 'selbtn2');" value="{$lang.btn_select}" class="button"/> </td> </tr> <tr> <td class="label">{$lang.can_multi}</td> <td> <input type="radio" name="can_multi" value="0"{if $vote_arr.can_multi eq 0} checked="true" {/if}/>{$lang.is_multi} <input type="radio" name="can_multi" value="1"{if $vote_arr.can_multi eq 1} checked="true" {/if}/>{$lang.no_multi} </td> </tr> <tr> <td class="label"> </td> <td> <input type="submit" value="{$lang.button_submit}" class="button" /> <input type="reset" value="{$lang.button_reset}" class="button" /> </td> </tr> </table> <input type="hidden" name="act" value="{$form_act}" /> <input type="hidden" name="id" value="{$vote_arr.vote_id}" /> </form> </div> {insert_scripts files="../data/static/js/utils.js,./js/validator.js"} <script> var date_error = '{$lang.date_error}'; </script> {literal} <script language="JavaScript"> <!-- document.forms['theForm'].elements['vote_name'].focus(); /** * 检查表单输入的数据 */ function validate() { validator = new Validator("theForm"); validator.required("vote_name", vote_name_empty); if(document.getElementById('start_time').value > document.getElementById('end_time').value) { alert(date_error); return false; } return validator.passed(); } onload = function() { // 开始检查订单 startCheckOrder(); } //--> </script> {/literal} {include file="pagefooter.htm"}