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


PHP ossim_db::get_order方法代码示例

本文整理汇总了PHP中ossim_db::get_order方法的典型用法代码示例。如果您正苦于以下问题:PHP ossim_db::get_order方法的具体用法?PHP ossim_db::get_order怎么用?PHP ossim_db::get_order使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ossim_db的用法示例。


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

示例1: ossim_valid

ossim_valid($order, OSS_ALPHA, OSS_SPACE, OSS_SCORE, OSS_NULLABLE, 'illegal:' . _("order"));
if (ossim_error()) {
    die(ossim_error());
}
if (empty($order)) {
    $order = "inet_aton(ip)";
}
?>

  <table align="center" width="35%">
    <tr>
      <th><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("profile", $order);
?>
">
	  <?php 
echo gettext("Profile");
?>
 </a></th>
      <th> <?php 
echo gettext("Action");
?>
 </th>
    </tr>

<?php 
$db = new ossim_db();
$conn = $db->connect();
开发者ID:jhbsz,项目名称:ossimTest,代码行数:31,代码来源:rrd_conf.php

示例2: gettext

 </a></td>
        <td style="background-color:#9DD131;font-weight:bold"><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("dst_ip", $order) . "&inf={$inf}&sup={$sup}&src_ip={$src_ip}&dst_ip={$dst_ip}&num_alarms_page={$num_alarms_page}&date_from={$date_from}&date_to={$date_to}&hide_closed={$hide_closed}&norefresh={$norefresh}&query={$query}&directive_id={$directive_id}&no_resolv={$no_resolv}&sensor_query={$sensor_query}&num_events={$num_events}&num_events_op={$num_events_op}";
?>
"> <?php 
echo gettext("Destination");
?>
 </a></td>
        <td style="background-color:#9DD131;font-weight:bold"><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("status", $order) . "&inf={$inf}&sup={$sup}&src_ip={$src_ip}&dst_ip={$dst_ip}&num_alarms_page={$num_alarms_page}&date_from={$date_from}&date_to={$date_to}&hide_closed={$hide_closed}&norefresh={$norefresh}&query={$query}&directive_id={$directive_id}&no_resolv={$no_resolv}&sensor_query={$sensor_query}&num_events={$num_events}&num_events_op={$num_events_op}";
?>
"> <?php 
echo gettext("Status");
?>
 </a></td>
        <td style="background-color:#9DD131;font-weight:bold"> <?php 
echo gettext("Action");
?>
 </td>
      </tr>
	  <form name="fchecks" action="alarms_check_delete.php" method="post">
	  <input type="hidden" name="hide_closed" value="<?php 
echo $hide_closed;
?>
">
开发者ID:jhbsz,项目名称:ossimTest,代码行数:31,代码来源:alarm_console.php

示例3: gettext

</a></th>
		<th><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("company", $order);
?>
"><?php 
echo gettext("Company");
?>
</a></th>
		<th><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("department", $order);
?>
"><?php 
echo gettext("Department");
?>
 </a></th>
		<th><?php 
echo gettext("Actions");
?>
</th> 
		<th><?php 
echo gettext("Language");
?>
</th>
    </tr>
开发者ID:jhbsz,项目名称:ossimTest,代码行数:30,代码来源:users.php

示例4: gettext

echo $user != "" ? "&user={$user}" : "";
echo $code != "" ? "&code={$code}" : "";
?>
">
					<?php 
echo gettext("Code");
?>
</a>
				</th>
				
				<th>
					<a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("info", $order);
echo $user != "" ? "&user={$user}" : "";
echo $code != "" ? "&code={$code}" : "";
?>
">
					<?php 
echo gettext("Action");
?>
</a>
				</th>
			</tr>
		</thead>
		
		<tbody>
		<?php 
$time_start = time();
开发者ID:jhbsz,项目名称:ossimTest,代码行数:31,代码来源:user_action_log.php

示例5: gettext

?order=<?php 
echo ossim_db::get_order("persistence", $order);
?>
&profile=<?php 
echo $profile;
?>
">
		<?php 
echo gettext("Persistence");
?>
 </a></th>
      <th><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("enable", $order);
?>
&profile=<?php 
echo $profile;
?>
">
		<?php 
echo gettext("Enable");
?>
 </a></th>
      <td></td>
    </tr>
      <form method="post" action="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
">
开发者ID:jhbsz,项目名称:ossimTest,代码行数:31,代码来源:modify_rrd_conf_form.php

示例6: _

					<th width="110"><a href="plugin_id?order=<?php 
echo ossim_db::get_order('name', $order);
?>
"><?php 
echo _("Name");
?>
</a></th>
					<th width="70"><a href="plugin_id?order=<?php 
echo ossim_db::get_order('type', $order);
?>
"><?php 
echo _("Type");
?>
</a></th>
					<th><a href="plugin_id?order=<?php 
echo ossim_db::get_order('type', $order);
?>
"><?php 
echo _("Description");
?>
</a></th>
				</tr>
				<tr>
					<td class="nobborder" colspan="5">
					<div style="overflow:auto;height:300px;width:500px;border:1px solid #EEEEEE">
						<table class="transparent" width="100%">
						<?php 
$i = 0;
foreach ($plugin_list as $plugin) {
    $plugin_type = $plugin->get_type();
    // Skip monitor plugins for root rule
开发者ID:jhbsz,项目名称:ossimTest,代码行数:31,代码来源:global.inc.php

示例7: gettext

      <th><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("plugin_id", $order);
?>
">
	<?php 
echo gettext("Plugin id");
?>
 </a></th>
      <th><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("plugin_sid", $order);
?>
">
	<?php 
echo gettext("Plugin sid");
?>
 </a></th>
      <th> <?php 
echo gettext("Action");
?>
 </th>
    </tr>
    
<?php 
require_once 'classes/Host_scan.inc';
require_once 'classes/Plugin.inc';
开发者ID:jhbsz,项目名称:ossimTest,代码行数:31,代码来源:hostscan.php

示例8: gettext

				</th>

<?php 
print '  <th>';
print '   <a href="plugin_id?order=';
print ossim_db::get_order('name', $order) . '"';
print '   >' . gettext("Name") . '</a>';
print '  </th>';
print '  <th>';
print '   <a href="plugin_id?order=';
print ossim_db::get_order('type', $order) . '"';
print '   >' . gettext("Type") . '</a>';
print '  </th>';
print '  <th>';
print '   <a href="plugin_id?order=';
print ossim_db::get_order('type', $order) . '"';
print '   >' . gettext("Description") . '</a>';
print '  </th>';
print ' </tr>';
$none_checked = 'true';
$plugin_list = getPluginList('ORDER BY ' . $order);
foreach ($plugin_list as $plugin) {
    $plugin_type = $plugin->get_type();
    if ($plugin_type == '1') {
        $type_name = 'Detector (1)';
    } elseif ($plugin_type == '2') {
        $type_name = 'Monitor (2)';
    } else {
        $type_name = 'Other (' . $plugin_type . ')';
    }
    if ($plugin_id == $plugin->get_id()) {
开发者ID:jhbsz,项目名称:ossimTest,代码行数:31,代码来源:plugin_id.php

示例9: gettext

      <th><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("inet_aton(ip)", $order);
?>
">
	  <?php 
echo gettext("Host");
?>
 </a></th>
      <th><a href="<?php 
echo $_SERVER["SCRIPT_NAME"];
?>
?order=<?php 
echo ossim_db::get_order("active", $order);
?>
">
	  <?php 
echo gettext("Active");
?>
 </a></th>
      <th> <?php 
echo gettext("Action");
?>
 </th>
    </tr>

<?php 
$db = new ossim_db();
$conn = $db->connect();
开发者ID:jhbsz,项目名称:ossimTest,代码行数:31,代码来源:scan.php


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