예제 #1
0
 set_flag($access >= $level_set_tempman, $channel->flags, 0x20, $tempman);
 set_flag($access >= $level_set_caution, $channel->flags, 0x40, $cautioned);
 set_flag($access >= $level_set_vacation, $channel->flags, 0x80, $vacation);
 set_flag($access >= $level_set_secret, $channel->flags, 0x100, $secret);
 //set_flag($access>=$level_set_alwaysop ,$channel->flags,0x00010000,$alwaysop);
 set_flag($access >= $level_set_strictop, $channel->flags, 0x20000, $strictop);
 set_flag($access >= $level_set_noop, $channel->flags, 0x40000, $noop);
 set_flag($access >= $level_set_novoice, $channel->flags, 0x800000, $novoice);
 set_flag($access >= $level_set_autotopic, $channel->flags, 0x80000, $autotopic);
 set_number($access >= $level_set_massdeoppro, $channel->mass_deop_pro, $massdeop, 0, 10);
 set_number($access >= $level_set_floodpro, $channel->flood_pro, $floodpro, 0, 20);
 set_text($access >= $level_set_url, $channel->url, $url);
 set_text($access >= $level_set_desc, $channel->description, $desc);
 set_text($access >= $level_set_keywords, $channel->keywords, $keywords);
 if ($access >= $level_status2 || $admin > 0) {
     set_text($access >= $level_set_mode, $channel->channel_mode, $mode);
     //set_text($access>=$level_set_mode,$channel->channel_key,$key);
     //set_number($access>=$level_set_mode,$channel->channel_limit,$limit,0,1000);
 }
 $updateq = "";
 $c_limit = $channel->channel_limit;
 if ($c_limit == "") {
     $c_limit = 0;
 }
 $c_desc = trim($channel->description);
 $c_mode = trim($channel->channel_mode);
 $c_keywords = trim($channel->keywords);
 $c_url = trim($channel->url);
 $count_chars = 0;
 for ($x = 0; $x < strlen($c_desc); $x++) {
     if (!(substr($c_desc, $x, 1) == "\\" && substr($c_desc, $x + 1, 1) == "'")) {
예제 #2
0
	<?php 
    if (!empty($data)) {
        ?>
	<?php 
        foreach ($data as $row) {
            ?>
	<tr>
		<?php 
            foreach ($form->fields as $index => $field) {
                ?>
		<td class="col<?php 
                echo $index;
                ?>
">
			<?php 
                echo set_text($row[$field->name], '&nbsp;');
                ?>
		</td>
		<?php 
            }
            ?>
		
		<td class="time_col"><?php 
            echo date('M j, Y g:i A', $row['_time_submitted']);
            ?>
</td>
	</tr>
	<?php 
        }
        ?>
	<tr id="nodata" style="display: none;"><td colspan="<?php