コード例 #1
0
ファイル: at_index.php プロジェクト: YouthAndra/huaitaoo2o
echo $GLOBALS['_J']['config']['topic_input_length'];
?>
','i_already<?php 
echo $h_key;
?>
','wordCheck<?php 
echo $h_key;
?>
')" onkeydown="ctrlEnter(event, 'publishSubmit<?php 
echo $h_key;
?>
')"><?php 
echo $i_already_value;
?>
</textarea> </div> <?php 
$_get_type = str_safe($this->Get['type']);
?>
 <input name="topic_type" type="hidden" id="topic_type<?php 
echo $h_key;
?>
" value="<?php 
echo $_get_type;
?>
" /> <input name="totid" type="hidden" id="totid<?php 
echo $h_key;
?>
" value="<?php 
echo $this->totid;
?>
" /> <input name="touid" type="hidden" id="touid<?php 
echo $h_key;
コード例 #2
0
ファイル: jishigou.php プロジェクト: YouthAndra/huaitaoo2o
 private function _g($var, $ifemptyval = null)
 {
     $val = jget($var, 'txt');
     if (!$val) {
         $val = $_REQUEST[$var];
     }
     if (empty($val)) {
         return is_null($ifemptyval) ? $val : $ifemptyval;
     } else {
         return str_safe($val);
     }
 }