Пример #1
0
 function content_f()
 {
     $id = $this->trans_lib->int("id");
     $field = $this->trans_lib->safe("field");
     $pageid = $this->trans_lib->int("pageid");
     $msg = phpok_c($id, $field, $pageid, false);
     exit($msg);
 }
Пример #2
0
<?php

if (!defined('PHPOK_SET')) {
    die('<h3>Error...</h3>');
}
$APP->tpl->p("head", "", "0");
?>
<section class="main animated fadeInDown">
	<div class="main-box">
		<div class="rule-detail border-box">
			<h1><?php 
echo $rs[title];
?>
</h1>
			<div><?php 
echo phpok_c($id, "content");
?>
</div>
		</div>
	</div>
</section>
<?php 
$APP->tpl->p("foot", "", "0");