Server : nginx/1.22.1
System : Linux iZwz9daxib3w3i063fw434Z 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 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/www.jkmold.com/phpcms/modules/guestbook/templates/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/www.jkmold.com/phpcms/modules/guestbook/templates/guestbook_show.tpl.php
<?php

include $this->admin_tpl('header','admin');

?>

<script type="text/javascript">

<!--

	$(function(){

	$.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, function(){this.close();$(obj).focus();})}}); 



	$("#guestbook_name").formValidator({onshow:"<?php echo L("input").L('guestbook_name')?>",onfocus:"<?php echo L("input").L('guestbook_name')?>"}).inputValidator({min:1,onerror:"<?php echo L("input").L('guestbook_name')?>"}).ajaxValidator({type : "get",url : "",data :"m=guestbook&c=guestbook&a=public_name&guestid=<?php echo $guestid;?>",datatype : "html",async:'false',success : function(data){	if( data == "1" ){return true;}else{return false;}},buttons: $("#dosubmit"),onerror : "<?php echo L('guestbook_name').L('exists')?>",onwait : "<?php echo L('connecting')?>"}).defaultPassed(); 



	 

	

	})

//-->

</script>



<div class="pad_10">

<form action="?m=guestbook&c=guestbook&a=show&guestid=<?php echo $guestid; ?>" method="post" name="myform" id="myform">

<table cellpadding="2" cellspacing="1" class="table_form" width="100%">





	<tr>

		<th width="20%"><?php echo L('typeid')?>:</th>

		<td><select name="guestbook[typeid]" id="">

		<option value="0" <?php if($typeid=='0'){echo "selected";}?>>默认分类</option>

		<?php

		  $i=0;

		  foreach($types as $type_key=>$type){

		  $i++;

		?>

		<option value="<?php echo $type['typeid'];?>" <?php if($type['typeid']==$typeid){echo "selected";}?>><?php echo $type['name'];?></option>

		<?php }?>

			 

		</select></td>

	</tr>

	<tr>

		<th width="20%"><?php echo L('guestbook_name')?>:</th>

		<td><?php echo $name;?></td>

	</tr>

    <tr>

		<th width="20%"><?php echo L('sex')?>:</th>

		<td><?php echo $sex;?></td>

	</tr>

	<tr>

		<th width="20%"><?php echo L('lxqq')?>:</th>

		<td><?php echo $lxqq;?></td>

	</tr>

	<tr>

		<th width="20%"><?php echo L('email')?>:</th>

		<td><?php echo $email;?></td>

	</tr>    

	<tr>

		<th width="20%"><?php echo L('shouji')?>:</th>

		<td><?php echo $shouji;?></td>

	</tr>

	<tr>

		<th><?php echo L('web_description')?>:</th>

		<td><?php echo $introduce;?></td>

	</tr>



 

	<tr>

	  <th><?php echo L('reply')?>:</th>

	  <td> 

	    <textarea name="guestbook[reply]" id="reply" cols="45" rows="5"><?php echo $reply;?></textarea></td>

	  </tr>

	<tr>

		<th><?php echo L('elite')?>:</th>

		<td><input name="guestbook[elite]" type="radio" value="1" <?php if($elite==1){echo "checked";}?>>&nbsp;<?php echo L('yes')?>&nbsp;&nbsp;<input

			name="guestbook[elite]" type="radio" value="0" <?php if($elite==0){echo "checked";}?>>&nbsp;<?php echo L('no')?></td>

	</tr>

	 

	<tr>

		<th><?php echo L('passed')?>:</th>

		<td><input name="guestbook[passed]" type="radio" value="1" <?php if($passed==1){echo "checked";}?>>&nbsp;<?php echo L('yes')?>&nbsp;&nbsp;<input

			name="guestbook[passed]" type="radio" value="0" <?php if($passed==0){echo "checked";}?>>&nbsp;<?php echo L('no')?></td>

	</tr>



<tr>

		<th></th>

		<td><input type="hidden" name="forward" value="?m=guestbook&c=guestbook&a=edit"> <input

		type="submit" name="dosubmit" id="dosubmit" class="dialog"

		value=" <?php echo L('submit')?> "></td>

	</tr>



</table>

</form>

</div>

</body>

</html>