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/special/templates/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


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

defined('IN_ADMIN') or exit('No permission resources.'); 

$show_header = $show_validator = $show_scroll = 1; 

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

?>

<br />

<div class="pad-lr-10">

<div id="searchid" style="display:">

<form name="searchform" action="" method="get" >

<input type="hidden" value="special" name="m">

<input type="hidden" value="special" name="c">

<input type="hidden" value="public_get_pics" name="a">

<table width="100%" cellspacing="0" class="search-form">

    <tbody>

		<tr>

		<td>

		<div class="explain-col">

 			<?php echo $model_form?>&nbsp;&nbsp; 

<span id="catids"></span>&nbsp;&nbsp; <span id="title" style="display:none;"><?php echo L('title')?>:<input type="text" name="title" size="20"></span>

				<?php echo L('input_time')?>:

				<?php $start_f = $_GET['start_time'] ? $_GET['start_time'] : format::date(SYS_TIME-2592000);$end_f = $_GET['end_time'] ? $_GET['end_time'] : format::date(SYS_TIME+86400);?>

				<?php echo form::date('start_time', $start_f, 1)?> - <?php echo form::date('end_time', $end_f, 1)?>

				 <input type="submit" name="search" class="button" value="<?php echo L('search')?>" />

	</div>

		</td>

		</tr>

    </tbody>

</table>

</form>

</div>

<div class="table-list">

    <table width="100%">

        <thead>

            <tr>

			<th><?php echo L('content_title')?></th>

			</tr>

        </thead>

<tbody>

    <?php if(is_array($data)) { foreach ($data as $r) {?>

        <tr>

		<td><label style="display:block"><input type="radio" onclick="choosed(<?php echo $r['id']?>, <?php echo $r['catid']?>, '<?php echo $r['title']?>')" class="inputcheckbox " name='ids' value="<?php echo $r['id'];?>">		  <?php echo $r['title'];?></label></td>

		</tr>

     <?php } }?>

</tbody>

     </table>

    <div class="btn"> <input type="hidden" name="msg_id" id="msg_id"> </div>

    <div id="pages"><?php echo $pages;?></div>

</div>

</div>

</body>

</html>

<script type="text/javascript">



	function choosed(contentid, catid, title) {

		var msg = contentid+'|'+catid+'|'+title;

		$('#msg_id').val(msg);

	}



	function select_categorys(modelid, id) {

		if(modelid) {

			$.get('', {m: 'special', c: 'special', a: 'public_categorys_list', modelid: modelid, catid: id, pc_hash: pc_hash }, function(data){

				if(data) {

					$('#catids').html(data);

					$('#title').show();

				} else {

					$('#catids').html('');

					$('#title').hide();

				}

			});

		}

	}

	select_categorys(<?php echo $_GET['modelid']?>, <?php echo $_GET['catid']?>);

	$(document).ready(function(){

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

		$("#typeid").formValidator({tipid:"msg_id",onshow:"<?php echo L('please_choose_type')?>",oncorrect:"<?php echo L('true')?>"}).inputValidator({min:1,onerror:"<?php echo L('please_choose_type')?>"});	

	});

	$("#myform").submit(function (){

		var str = 0;

		$("input[name='ids[]']").each(function() {

			if($(this).attr('checked')==true) str = 1;

		});

		if(str==0) {

			alert('<?php echo L('choose_news')?>');

			return false;

		}

		return true;

	});

</script>