当前位置: 首页>>代码示例>>PHP>>正文


PHP noki函数代码示例

本文整理汇总了PHP中noki函数的典型用法代码示例。如果您正苦于以下问题:PHP noki函数的具体用法?PHP noki怎么用?PHP noki使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了noki函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: noki

   <td class="mbox" width="30%"><?php 
        echo $row[1];
        ?>
 (<?php 
        echo $row[0];
        ?>
)</td>
   <td class="mbox" width="15%"><?php 
        echo noki($row[3]);
        ?>
 [<a href="admin.php?action=misc&job=feedcreator_active&id=<?php 
        echo $row[0];
        ?>
&key=3">Change</a>]</td>
   <td class="mbox" width="15%"><?php 
        echo noki($row[4]);
        ?>
 [<a href="admin.php?action=misc&job=feedcreator_active&id=<?php 
        echo $row[0];
        ?>
&key=4">Change</a>]</td>
  </tr>
<?php 
    }
    ?>
  <tr> 
   <td class="ubox" width="100%" colspan="5" align="center"><input type="submit" name="Submit" value="Delete"></td> 
  </tr>
 </table>
</form>
<br>
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:misc.php

示例2: foreach

&phrase=<?php 
            echo $phrase;
            ?>
"><?php 
            echo $lang->phrase('admin_lang_edit');
            ?>
</a>&nbsp;<?php 
            echo $phrase;
            ?>
</td>
   <?php 
            foreach ($cache as $row) {
                $status = in_array($phrase, $diff[$row['id']]);
                ?>
   <td class="mbox" align="center"><?php 
                echo noki($status) . iif(!$status, ' <a class="button" href="admin.php?action=language&job=phrase_file_copy&file=' . $file . '&id=' . $row['id'] . '&phrase=' . $phrase . '">' . $lang->phrase('admin_lang_add') . '</a>');
                ?>
</td>
   <?php 
            }
            ?>
  </tr>
  <?php 
        }
        ?>
  <tr>
   <td class="ubox" colspan="<?php 
        echo count($cache) + 1;
        ?>
"><?php 
        echo $pages_html;
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:language.php

示例3: noki

        }
        ?>
  <tr> 
   <td class="mbox" width="10%"><input type="checkbox" name="delete[]" value="<?php 
        echo $prefix['id'];
        ?>
"></td>
   <td class="mbox" width="70%"><a href="admin.php?action=forums&amp;job=prefix_edit&amp;id=<?php 
        echo $prefix['id'];
        ?>
"><?php 
        echo $prefix['value'];
        ?>
</a></td>
   <td class="mbox" width="20%" align="center"><?php 
        echo noki($prefix['standard']);
        ?>
</td> 
  </tr>
  <?php 
    }
    ?>
  <tr>
   <td class="ubox" colspan="3" align="center"><input type="submit" name="Submit" value="Delete"></td> 
  </tr>
 </table>
</form><br />
<form name="form" method="post" action="admin.php?action=forums&job=prefix_add&id=<?php 
    echo $id;
    ?>
">
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:forums.php

示例4: noki

        echo $row['search'];
        ?>
</td>
   <td width="30%"><?php 
        echo $row['replace'];
        ?>
</td>
   <td align="center" width="15%"><img src="<?php 
        echo $src;
        ?>
" alt="<?php 
        echo $row['search'];
        ?>
" border="0" />&nbsp;</td>
   <td width="5%" align="center"><?php 
        echo noki($row['show'], ' onmouseover="HandCursor(this)" onclick="ajax_noki(this, \'action=bbcodes&job=smileys_ajax_pos&id=' . $row['id'] . '\')"');
        ?>
</td>
   <td width="35%"><?php 
        echo $row['desc'];
        ?>
</td>
  </tr>
<?php 
    }
    ?>
  <tr>
   <td class="ubox" colspan="6" align="center">
   Selected Smileys: <select name="job">
	<option value="smileys_edit" selected="selected"><?php 
    echo $lang->phrase('admin_bbc_edit');
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:bbcodes.php

示例5: noki

</td>
   <td><?php 
    echo noki(true);
    ?>
</td>
   <td><?php 
    echo noki(true);
    ?>
</td>
   <td><?php 
    echo noki(true);
    ?>
</td>
   <td><?php 
    echo noki(false);
    ?>
</td>
   <td><?php 
    echo noki(true);
    ?>
</td>
   <td><?php 
    echo noki(false);
    ?>
</td>
   <td>Subscriptions</td>
  </tr>
 </table>
	<?php 
    echo foot();
}
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:db.php

示例6: foreach

   <td class="ubox" width="30%"><?php echo $lang->phrase('admin_misc_name'); ?></td>
   <td class="ubox" width="30%"><?php echo $lang->phrase('admin_misc_file_class'); ?></td>
   <td class="ubox" width="15%"><?php echo $lang->phrase('admin_misc_shown'); ?></td>
   <td class="ubox" width="15%"><?php echo $lang->phrase('admin_misc_download'); ?></td>
  </tr>
<?php
foreach ($data as $r) {
	$row = explode('|', $r);
	$row = array_map('trim', $row);
?>
  <tr>
   <td class="mbox" width="10%"><input type="checkbox" name="delete[]" value="<?php echo $row[0]; ?>"></td>
   <td class="mbox" width="30%"><a href="external.php?action=<?php echo $row[0]; ?>" target="_blank" title="<?php echo $lang->phrase('admin_misc_show_feed'); ?>"><?php echo $row[2]; ?></a></td>
   <td class="mbox" width="30%"><?php echo $row[1]; ?> (<?php echo $row[0]; ?>)</td>
   <td class="mbox" width="15%"><?php echo noki($row[3]); ?> <a class="button" href="admin.php?action=misc&job=feedcreator_active&id=<?php echo $row[0]; ?>&key=3"><?php echo $lang->phrase('admin_misc_change'); ?></a></td>
   <td class="mbox" width="15%"><?php echo noki($row[4]); ?> <a class="button" href="admin.php?action=misc&job=feedcreator_active&id=<?php echo $row[0]; ?>&key=4"><?php echo $lang->phrase('admin_misc_change'); ?></a></td>
  </tr>
<?php } ?>
  <tr>
   <td class="ubox" width="100%" colspan="5" align="center"><input type="submit" name="Submit" value="<?php echo $lang->phrase('admin_misc_delete'); ?>"></td>
  </tr>
 </table>
</form>
<br>
<form name="form2" method="post" enctype="multipart/form-data" action="admin.php?action=misc&job=feedcreator_add">
<table class="border">
<tr><td class="obox" colspan="2"><?php echo $lang->phrase('admin_misc_add_new_feed_creator'); ?></td></tr>
<tr class="mbox"><td><?php echo $lang->phrase('admin_misc_upload_file'); ?><br /><span class="stext"><?php echo $lang->phrase('admin_misc_permitted_file_types_php'); ?></span></td><td><input type="file" name="upload" size="50" /></td></tr>
<tr class="mbox"><td><?php echo $lang->phrase('admin_misc_upload_name'); ?></td><td><input type="text" name="name" size="50" /></td></tr>
<tr class="mbox"><td><?php echo $lang->phrase('admin_misc_name_of_class'); ?><br /><span class="stext"><?php echo $lang->phrase('admin_misc_name_of_class_info'); ?></span></td><td><input type="text" name="class" size="50" /></td></tr>
<tr class="mbox"><td><?php echo $lang->phrase('admin_misc_upload_shown'); ?><br /><span class="stext"><?php echo $lang->phrase('admin_misc_shown_info'); ?></span></td><td><input type="checkbox" name="active" value="1" /></td></tr>
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:misc.php

示例7: noki

	  </tr>
	 </table>
	<br />
	 <table class="border">
	  <tr> 
	   <td class="obox" align="center" colspan="4">Program Statistics</td>
	  </tr>
	  <tr> 
		<td class="mmbox" width="25%">Viscacha Version:</td>
		<td class="mbox"  width="25%"><a href="admin.php?action=settings&job=version"><?php 
    echo $config['version'];
    ?>
</a></td>
		<td class="mmbox" width="25%">Website Offline:</td>
		<td class="mbox"  width="25%"><?php 
    echo noki($config['foffline'], ' onmouseover="HandCursor(this)" onclick="ajax_noki(this, \'action=settings&job=ajax_sitestatus\')"');
    ?>
</td>
	  </tr>
	  <tr> 
		<td class="mmbox" width="25%">PHP Version:</td>
		<td class="mbox"  width="25%"><?php 
    echo PHP_VERSION;
    ?>
</td>
		<td class="mmbox" width="25%">MySQL Version:</td>
		<td class="mbox"  width="25%"><?php 
    echo $db->version();
    ?>
</td>
	  </tr>
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:start.php

示例8: foreach

			<li><?php echo $lang->phrase('admin_no_tasks'); ?></li>
		<?php } else { foreach ($tasks as $task) { echo "<li>{$task}</li>"; } } ?>
		</ul>
		</td>
	  </tr>
	 </table>
	<br />
	 <table class="border">
	  <tr>
	   <td class="obox" align="center" colspan="4"><?php echo $lang->phrase('admin_program_stats'); ?></td>
	  </tr>
	  <tr>
		<td class="mmbox" width="25%"><?php echo $lang->phrase('admin_viscacha_version'); ?></td>
		<td class="mbox"  width="25%"><a href="admin.php?action=settings&job=version"><?php echo $config['version']; ?></a></td>
		<td class="mmbox" width="25%"><?php echo $lang->phrase('admin_website_offline');?></td>
		<td class="mbox"  width="25%"><?php echo noki($config['foffline'], ' onmouseover="HandCursor(this)" onclick="ajax_noki(this, \'action=settings&job=ajax_sitestatus\')"'); ?></td>
	  </tr>
	  <tr>
		<td class="mmbox" width="25%"><?php echo $lang->phrase('admin_php_version'); ?></td>
		<td class="mbox"  width="25%"><?php echo PHP_VERSION; ?></td>
		<td class="mmbox" width="25%"><?php echo $lang->phrase('admin_database_version'); ?></td>
		<td class="mbox"  width="25%"><?php echo $db->version(); ?></td>
	  </tr>
	  <tr>
		<td class="mmbox" width="25%"><?php echo $lang->phrase('admin_webserver'); ?></td>
		<td class="mbox"  width="25%"><?php echo $webserver; ?></td>
		<td class="mmbox" width="25%"><?php echo $lang->phrase('admin_server_load'); ?></td>
		<td class="mbox"  width="25%"><?php echo serverload(); ?></td>
	  </tr>
	 </table>
	<br />
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:start.php

示例9: foreach

    <td nowrap="nowrap"><?php 
        echo $row['name'];
        ?>
<br /><?php 
        echo $row['title'];
        ?>
</td>
	<td><?php 
        echo $row['id'];
        ?>
</td>
	<?php 
        foreach ($glk as $txt) {
            ?>
   	<td><?php 
            echo noki($row[$txt], ' onmouseover="HandCursor(this)" onclick="ajax_noki(this, \'action=groups&job=ajax_changeperm&id=' . $row['id'] . '&key=' . $txt . '\')"');
            ?>
</td>
   	<?php 
        }
        ?>
   	<td><?php 
        echo $row['flood'];
        ?>
</td>
  </tr>
  <?php 
    }
    ?>
  <tr> 
   <td class="ubox" colspan="<?php 
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:groups.php

示例10: foreach

        foreach ($data[$page - 1] as $phrase) {
            ?>
  <tr>
   <td class="mmbox"><input type="checkbox" name="delete[]" value="<?php 
            echo $phrase;
            ?>
">&nbsp;<?php 
            echo $phrase;
            ?>
</td>
   <?php 
            foreach ($cache as $row) {
                $status = in_array($phrase, $diff[$row['id']]);
                ?>
   <td class="mbox" align="center"><?php 
                echo noki($status) . iif(!$status, ' [<a href="admin.php?action=language&job=phrase_file_copy&file=' . $file . '&id=' . $row['id'] . '&phrase=' . $phrase . '">Add</a>]');
                ?>
</td>
   <?php 
            }
            ?>
  </tr>
  <?php 
        }
        ?>
  <tr>
   <td class="ubox" colspan="<?php 
        echo count($cache) + 1;
        ?>
"><?php 
        echo $pages_html;
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:language.php

示例11: noki

        ?>
</td>
   	<td class="mbox"><?php 
        echo noki($row['f_addvotes'], $p1 . 'f_addvotes' . $p2);
        ?>
</td>
   	<td class="mbox"><?php 
        echo noki($row['f_attachments'], $p1 . 'f_attachments' . $p2);
        ?>
</td>
   	<td class="mbox"><?php 
        echo noki($row['f_edit'], $p1 . 'f_edit' . $p2);
        ?>
</td>
   	<td class="mbox"><?php 
        echo noki($row['f_voting'], $p1 . 'f_voting' . $p2);
        ?>
</td>
  </tr>
  <?php 
    }
    ?>
  <tr> 
   <td class="ubox" width="100%" colspan="10" align="center"><input type="submit" name="Submit" value="Delete"></td> 
  </tr>
 </table>
</form> 
	<?php 
    echo foot();
} elseif ($job == 'ajax_changeperm') {
    $id = $gpc->get('id', int);
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:forums.php

示例12: foreach

        echo $row['title'];
        ?>
</td>
	<td><?php 
        echo $row['id'];
        ?>
</td>
	<?php 
        foreach ($glk as $txt) {
            $clickable = !($guest && in_array($txt, $guest_limitation));
            if ($txt == 'guest') {
                $clickable = false;
            }
            $js = iif($clickable, ' onmouseover="HandCursor(this)" onclick="ajax_noki(this, \'action=groups&job=ajax_changeperm&id=' . $row['id'] . '&key=' . $txt . '\')"', ' style="-moz-opacity: 0.4; opacity: 0.4; filter:Alpha(opacity=40, finishopacity=0);"');
            echo '<td align="center"' . iif(!$clickable, ' class="mmbox"') . '>';
            echo noki($row[$txt], $js);
            echo '</td>';
        }
        ?>
   	<td><?php 
        echo $row['flood'];
        ?>
</td>
  </tr>
  <?php 
    }
    ?>
  <tr>
   <td class="ubox" colspan="<?php 
    echo $colspan + 4;
    ?>
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:groups.php

示例13: str_replace

   <td width="10%">Code</td>
   <td width="30%">URL</td>
   <td width="15%">Images</td>
   <td width="5%">Show directly</td>
   <td width="35%">Description</td>
  </tr>
<?php
	while ($row = $db->fetch_assoc($result)) {
		$src = str_replace('{folder}', $config['smileyurl'], $row['replace']);
?>
  <tr class="mbox">
   <td width="5%"><input type="checkbox" name="id[]" value="<?php echo $row['id']; ?>"></td>
   <td width="10%"><?php echo $row['search']; ?></td>
   <td width="30%"><?php echo $row['replace']; ?></td>
   <td align="center" width="15%"><img src="<?php echo $src; ?>" alt="<?php echo $row['search']; ?>" border="0" />&nbsp;</td>
   <td width="5%" align="center"><?php echo noki($row['show'], ' onmouseover="HandCursor(this)" onclick="ajax_noki(this, \'action=bbcodes&job=smileys_ajax_pos&id='.$row['id'].'\')"'); ?></td>
   <td width="35%"><?php echo $row['desc']; ?></td>
  </tr>
<?php } ?>
  <tr>
   <td class="ubox" colspan="6" align="center">
   Selected Smileys: <select name="job">
    <option value="smileys_edit" selected="selected">Edit</option>
    <option value="smileys_export">Export</option>
   	<option value="smileys_delete">Delete</option>
   </select>&nbsp;&nbsp;&nbsp;&nbsp;
   <input type="submit" value="Go">
   </td>
  </tr>
 </table>
</form>
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:bbcodes.php

示例14: while

  <tr>
   <td class="ubox" width="18%"><?php echo $lang->phrase('admin_lang_lang'); ?></td>
   <td class="ubox" width="6%"><?php echo $lang->phrase('admin_lang_code'); ?></td>
   <td class="ubox" width="37%"><?php echo $lang->phrase('admin_lang_description'); ?></td>
   <td class="ubox" width="5%"><?php echo $lang->phrase('admin_lang_published'); ?></td>
   <td class="ubox" width="34%"><?php echo $lang->phrase('admin_lang_action'); ?></td>
  </tr>
  <?php
  while ($row = $db->fetch_assoc($result)) {
  	$settings = $gpc->prepare(return_array('settings', $row['id']));
  ?>
  <tr>
   <td class="mbox"><?php echo $row['language'].iif($config['langdir'] == $row['id'], '<br /><span class="stext">'.$lang->phrase('admin_lang_default').'</span>'); ?></td>
   <td class="mbox"><?php echo $settings['lang_code'].iif(!empty($settings['country_code']), '_'.$settings['country_code']); ?></td>
   <td class="mbox stext"><?php echo $row['detail']; ?></td>
   <td class="mbox" align="center"><?php echo noki($row['publicuse'], ' onmouseover="HandCursor(this)" onclick="ajax_noki(this, \'action=language&job=ajax_publicuse&id='.$row['id'].'\')"'); ?></td>
   <td class="mbox">
   <a class="button" href="admin.php?action=language&amp;job=lang_edit&amp;id=<?php echo $row['id']; ?>"><?php echo $lang->phrase('admin_lang_edit'); ?></a>
   <a class="button" href="admin.php?action=language&amp;job=lang_copy&amp;id=<?php echo $row['id']; ?>" title="<?php echo $lang->phrase('admin_lang_copy_langpack_translate_later'); ?>"><?php echo $lang->phrase('admin_lang_copy'); ?></a>
   <a class="button" href="admin.php?action=language&amp;job=export&amp;id=<?php echo $row['id']; ?>">Export</a>
   <a class="button" href="admin.php?action=language&amp;job=lang_delete&amp;id=<?php echo $row['id']; ?>"><?php echo $lang->phrase('admin_lang_delete'); ?></a>
   <?php if ($row['publicuse'] == 1 && $config['langdir'] != $row['id']) { ?>
   <a class="button" href="admin.php?action=language&amp;job=lang_default&amp;id=<?php echo $row['id']; ?>"><?php echo $lang->phrase('admin_lang_set_default'); ?></a>
   <?php } ?>
   <a class="button" href="forum.php?language=<?php echo $row['id']; ?>" target="_blank"><?php echo $lang->phrase('admin_lang_view'); ?></a>
   </td>
  </tr>
  <?php } ?>
 </table>
	<?php
	echo foot();
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:language.php

示例15: noki

	   	<?php 
        }
        ?>
	   </td>
	  </tr>
	  <?php 
    }
    if (isset($row['license'])) {
        ?>
	  <tr>
	   <td class="mbox" width="30%"><?php 
        echo $lang->phrase('admin_packages_browser_multiple_installations_allowed');
        ?>
</td>
	   <td class="mbox" width="70%"><?php 
        echo noki($row['multiple']);
        ?>
</td>
	  </tr>
	  <?php 
    }
    ?>
	  <tr>
	   <td class="mbox" width="30%"><?php 
    echo $lang->phrase('admin_packages_browser_server');
    ?>
</td>
	   <td class="mbox" width="70%"><?php 
    echo $row['server'];
    ?>
</td>
开发者ID:BackupTheBerlios,项目名称:viscacha-svn,代码行数:31,代码来源:packages.php


注:本文中的noki函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。