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


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

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

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

?>

<div class="pad_10">

<form action="?" method="get">

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

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

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

<table width="100%" class="table_form">

		<tr>

			<td width="80"><?php echo L('category')?>:</td> 

			<td><?php if(isset($_GET['dosubmit'])){?><div class="rt"><a href="javascript:void(0)" onclick="$('#search').toggle()"><?php echo L('folded_up_in_search_of')?></a></div><?php } echo form::select_category('category_content_'.$this->siteid, $catid, 'name="catid" id="catid"', '', '', '0', 1)?> </td>

		</tr>

		<tbody id="search" <?php if(isset($_GET['dosubmit'])) echo 'style="display:none"';?>>

		<tr>

			<td><?php echo L('posterize_time')?>:</td> 

			<td><?php echo form::date('start_time', $start_time ? date('Y-m-d', $start_time) : '')?> - <?php echo form::date('end_time', $end_time ? date('Y-m-d',$end_time) : '')?></td>

		</tr>

		<tr>

			<td><?php echo L('recommend')?>:</td> 

			<td>

			<?php echo form::select(array(''=>L('all'), '1'=>L('recommend'), '2'=>L('not_recommend')), $posids, 'name="posids"')?>

			</td>

		</tr>

		<tr>

			<td><?php echo L('search_mode')?>:</td>

			<td>

			<?php echo form::select(array('1'=>L('title'), '2'=>L('desc'), '3'=>L('username'), '4'=>'ID'), $searchtype, 'name="searchtype"')?>

			</td>

		</tr>

		<tr>

			<td><?php echo L('key_word')?>:</td>

			<td>

			<input name="keyword" type="text" value="<?php echo $keyword?>" class="input-text" />

</td>

		</tr>

		<tr>

			<td></td>

			<td>

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

</td>

		</tr>

		</tbody>

	</table>

	</form>

<?php if (isset($_GET['dosubmit']) && !empty($data)) :?>	

	<div class="table-list">

	<div class="btn"><input type="checkbox" value="" id="check_box" onclick="selectall('ids[]');"> <input type="button" value="<?php echo L('insert_a_comment_about_the_selected_text')?>" class="button" onclick="insert_form()"></div>

<table width="100%">

<tbody>

<?php foreach ($data as $v):?>

<tr>

<td align="center" width="40"><input class="inputcheckbox " name="ids[]" value="{title:'<?php echo str_replace('\'', '\\\'', $v['title'])?>', thumb:'<?php echo $v['thumb']?>', desc:'<?php echo str_replace(array('\'', "\r","\n"), array('\\\'', "", ""), $v['description'])?>', url:'<?php echo $v['url']?>'}" type="checkbox"></td>

<td><?php echo $v['title']?> <?php if ($v['thumb']) echo '<font color="red">['.L('pic').']</font>'?></td>

</tr>

<?php endforeach;?>

</tbody>

</table>

<div class="btn"><label for="check_box"><?php echo L('select_all')?>/<?php echo L('cancel')?></label> <input type="button" value="<?php echo L('insert_a_comment_about_the_selected_text')?>" class="button" onclick="insert_form()"></div>

<dir id="pages"><?php echo $pages?></dir>

	</div>

	

<?php endif;?>	

	</div>

<script type="text/javascript">
<!--
	function insert_form() {

	$("input[type='checkbox'][name='ids[]']:checked").each(function(i,n){parent.insert_forms($(n).val());});

	parent.art.dialog({id:'search_content'}).close();

}
//-->
</script>

</body>

</html>