本文整理汇总了PHP中display_help函数的典型用法代码示例。如果您正苦于以下问题:PHP display_help函数的具体用法?PHP display_help怎么用?PHP display_help使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了display_help函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: sc_postbox
function sc_postbox()
{
global $post;
$rows = e_WYSIWYG ? 15 : 10;
$ret = "<textarea class='e-wysiwyg tbox' id='post' name='post' cols='70' rows='{$rows}' style='width:95%' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>{$post}</textarea>\n<br />\n";
if (!e_WYSIWYG) {
$ret .= display_help('helpb', 'forum');
}
return $ret;
}
示例2: product_table
function product_table($category_id, $item_id, $item_name, $item_description, $item_price, $sku_number, $shipping_first_item, $shipping_additional_item, $handling_override, $item_image, $item_active_status, $item_order, $prod_prop_1_id, $prod_prop_2_id, $prod_prop_3_id, $prod_prop_4_id, $prod_prop_5_id, $prod_discount_id, $image_array, $icon_width, $item_instock, $item_track_stock, $enable_ipn, $download_product, $download_filename, $store_image_path, $prod_promo_class, $item_minimum, $download_datasheet, $download_datasheet_filename, $item_quotation)
{
$text .= "\n\t<table border='0' cellspacing='15' width='100%'>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<b>" . EASYSHOP_CONF_ITM_05 . ":</b>\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<select class='tbox' name='category_id'>";
$sql2 = new db();
$sql2->db_Select(DB_TABLE_SHOP_ITEM_CATEGORIES, "*", "WHERE category_active_status = '2' ORDER BY category_order", false);
// Select only active categories
while ($row2 = $sql2->db_Fetch()) {
if ($row2['category_id'] == $category_id) {
$text .= "\n <option value='" . $row2['category_id'] . "' selected='selected'>" . $row2['category_name'] . "</option>";
} else {
$text .= "\n <option value='" . $row2['category_id'] . "'>" . $row2['category_name'] . "</option>";
}
}
$text .= "\n </select>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<b>" . EASYSHOP_CONF_ITM_06 . ":</b>\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<input class='tbox' size='25' type='text' name='item_name' value='" . $item_name . "' />\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td valign='top'>\n\t\t\t\t<b>" . EASYSHOP_CONF_ITM_07 . ":</b>\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<textarea class='tbox' cols='50' rows='7' name='item_description' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>" . $item_description . "</textarea><br />" . display_help('helpa') . "\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<b>" . EASYSHOP_CONF_ITM_08 . ": <img src='" . e_IMAGE . "admin_images/docs_16.png' title='" . EASYSHOP_CONF_ITM_09 . "' alt='" . EASYSHOP_CONF_ITM_09 . "' /></b>\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<input class='tbox' size='25' type='text' name='sku_number' value='" . $sku_number . "' />\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<b>" . EASYSHOP_CONF_ITM_10 . ":</b>\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t<input class='tbox' size='7' type='text' name='item_price' value='" . $item_price . "' />\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<b>" . EASYSHOP_CONF_ITM_11 . ":</b>\n\t\t\t</td>\n\t\t\t<td valign='top'>\n\t\t\t\t<input class='tbox' size='7' type='text' name='shipping_first_item' value='" . $shipping_first_item . "' />\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td colspan=2>\n\t\t\t\t<img src='" . e_IMAGE . "admin_images/docs_16.png' title='' alt='' /> " . EASYSHOP_CONF_ITM_12 . "\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<b>" . EASYSHOP_CONF_ITM_13 . ":</b>\n\t\t\t</td>\n\t\t\t<td valign='top'>\n\t\t\t\t<input class='tbox' size='7' type='text' name='shipping_additional_item' value='" . $shipping_additional_item . "' />\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td colspan=2>\n\t\t\t\t<img src='" . e_IMAGE . "admin_images/docs_16.png' title='' alt='' /> " . EASYSHOP_CONF_ITM_12 . "\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<b>" . EASYSHOP_CONF_ITM_14 . ":</b>\n\t\t\t</td>\n\t\t\t<td valign='top'>\n\t\t\t\t<input class='tbox' size='7' type='text' name='handling_override' value='" . $handling_override . "' />\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>";
// Show all available images
$item_image = explode(",", $item_image);
$arrayLength = count($item_image);
$j = 1;
for ($i = 0; $i < $arrayLength; $i++) {
$text .= "\n \t\t\t<td valign='top'>\n \t\t\t\t<b>" . EASYSHOP_CONF_ITM_15 . " " . $j . ":</b>\n \t\t\t</td>\n \t\t\t<td valign='top'>\n\t\t\t\t<input type='text' size='25' class='tbox' id='item_image" . $i . "' name='item_image[]' value='" . $item_image[$i] . "' /> " . EASYSHOP_CONF_ITM_16 . "<br />";
// Show icons with width 16 of the array of images and put name in variable $category_image
foreach ($image_array as $icon) {
$text .= "<a href=\"javascript:insertext('" . $icon['fname'] . "','item_image" . $i . "','itmimg')\"><img src='" . $icon['path'] . $icon['fname'] . "' style='border:0' alt='' width='" . $icon_width . "' /></a> ";
}
$text .= "</td></tr>";
$j++;
}
// Add a blank input image field on top of the current list
$j = $arrayLength + 1;
$text .= "\n \t\t<td valign='top'>\n \t\t\t\t<b>" . EASYSHOP_CONF_ITM_15 . " " . $j . ":</b>\n \t\t\t</td>\n \t\t\t<td valign='top'>\n\t\t\t\t<input type='text' size='25' class='tbox' id='item_image" . $j . "' name='item_image[]' value='" . $item_image[$j] . "' /> " . EASYSHOP_CONF_ITM_16 . "<br />";
// Show icons with width 16 of the array of images and put name in variable $category_image
foreach ($image_array as $icon) {
$text .= "<a href=\"javascript:insertext('" . $icon['fname'] . "','item_image" . $j . "','itmimg')\"><img src='" . $icon['path'] . $icon['fname'] . "' style='border:0' alt='' width='" . $icon_width . "' /></a> ";
}
$text .= "</td></tr>";
// Show upload button
$imgdirname = e_PLUGIN . "easyshop/" . $store_image_path;
$text .= "<tr><td></td><td><br /><input class=\"button\" type=\"button\" name=\"request\" value=\"" . EASYSHOP_CONF_ITM_43 . "\" onclick=\"expandit(this)\" />\n \t\t\t<div style=\"display:none;\">\n \t\t\t<input class=\"tbox\" type=\"file\" name=\"file_userfile[]\" size=\"50\" />\n \t\t\t<input class=\"button\" type=\"submit\" name=\"upload\" value=\"" . EASYSHOP_CONF_ITM_38 . "\" />\n \t\t\t<input type=\"hidden\" name=\"upload_dir[]\" value=\"" . $imgdirname . "\" />\n \t\t\t</div></td></tr>";
$text .= "\n\t\t\t<tr>\n\t\t\t\t<td colspan=2>\n\t\t\t\t\t<img src='" . e_IMAGE . "admin_images/docs_16.png' title='' alt='' /> " . EASYSHOP_CONF_ITM_17 . "\n\t\t\t\t</td>\n\t\t\t</tr>\n <tr>\n <td>\n <b>" . EASYSHOP_CONF_ITM_18 . "</b>\n </td>\n <td>";
// Display the check box for active status (active = 2)
if ($item_active_status == 2) {
$text .= "<input type='checkbox' name='item_active_status' value='2' checked='checked' />";
} else {
$text .= "<input type='checkbox' name='item_active_status' value='1' />";
}
$text .= "\n </td>\n </tr>";
for ($n = 1; $n < 6; $n++) {
$fpropname = "prod_prop_" . $n . "_id";
$text .= "\n <tr>\n <td>\n <b>" . EASYSHOP_CONF_ITM_28 . " " . $n . "</b>\n </td>\n <td>\n\t\t<select class='tbox' name='{$fpropname}'>\n <option value='' selected='selected'></option>";
$sql3 = new db();
$sql3->db_Select(DB_TABLE_SHOP_PROPERTIES, "*", " ORDER BY prop_display_name", false);
// Select all properties
while ($row3 = $sql3->db_Fetch()) {
//$positioner = ${"prod_prop_".$n."_id"};
// Show display_name and first 10 characters of the string; so it is no problem to select from same name e.g. 'Color' with different property list
if ($row3['property_id'] == ${"prod_prop_" . $n . "_id"}) {
$text .= "<option value='" . $row3['property_id'] . "' selected='selected'>" . $row3['prop_display_name'] . ": " . substr($row3['prop_list'], 0, 10) . (strlen($row3['prop_list']) ? "..." : "") . "</option>";
} else {
$text .= "<option value='" . $row3['property_id'] . "'>" . $row3['prop_display_name'] . ": " . substr($row3['prop_list'], 0, 10) . (strlen($row3['prop_list']) ? "..." : "") . "</option>";
}
}
$text .= "\n\t\t</select>\n\t </td>\n </tr>";
}
// End of For loop for properties
// Display discount
$text .= "\n <tr>\n <td>\n <b>" . EASYSHOP_CONF_ITM_29 . "</b>\n </td>\n <td>\n\t\t<select class='tbox' name='prod_discount_id'>\n <option value='' selected='selected'></option>";
$sql4 = new db();
$sql4->db_Select(DB_TABLE_SHOP_DISCOUNT, "*", " ORDER BY discount_name", false);
// Select all discounts
while ($row4 = $sql4->db_Fetch()) {
if ($row4['discount_id'] == $prod_discount_id) {
$text .= "<option value='" . $row4['discount_id'] . "' selected='selected'>" . $row4['discount_name'] . "</option>";
} else {
$text .= "<option value='" . $row4['discount_id'] . "'>" . $row4['discount_name'] . "</option>";
}
}
$text .= "\n </select>";
if (trim($prod_discount_id) > "") {
$sql5 = new db();
$sql5->db_Select(DB_TABLE_SHOP_DISCOUNT, "*", "discount_id = " . $prod_discount_id);
// Select the selected discount
if ($row5 = $sql5->db_Fetch()) {
if ($row5['discount_valid_till'] == 0) {
// Set the end date to maximum if not filled in
$row5['discount_valid_till'] = 9999999999.0;
}
$today = time();
// $text .= "-- Today = $today Discount_valid_till = ".$row5['discount_valid_till']." Discount_valid_from = ".$row5['discount_valid_from']."--"; // Some debug info
if ($today > $row5['discount_valid_till']) {
$text .= " " . EASYSHOP_CONF_ITM_30 . " (" . date("Y/m/d", $row5['discount_valid_till']) . ")";
}
if ($today < $row5['discount_valid_from']) {
$text .= " " . EASYSHOP_CONF_ITM_31 . " (" . date("Y/m/d", $row5['discount_valid_from']) . ")";
}
}
}
$text .= "\n </td></tr>";
// IPN addition - include track stock option in form
$item_track_stock != '2' ? $trackstock_text = " value = '1' " : ($trackstock_text = " value = '2' checked='checked' ");
$enable_ipn != '2' ? $enabled_text = " disabled = 'true' " : ($enabled_text = "");
//.........这里部分代码省略.........
示例3: user_form
//.........这里部分代码省略.........
$fName = mysql_result($result_Factions, $faction - 1, TBL_FACTIONS . ".Name");
$text .= '<option value="' . $fID . '"';
if (strtolower($_POST['faction' . $i]) == $fID) {
$text .= ' selected="selected"';
}
$text .= '>' . $fName . '</option>';
}
$text .= '</select></td>';
}
}
$p++;
$text .= '</tr>';
}
}
}
$text .= '</tbody>';
$text .= '</table>';
$text .= '<br />';
// Map Selection
//----------------------------------
// List of all Maps
$q_Maps = "SELECT " . TBL_MAPS . ".*" . " FROM " . TBL_MAPS . " WHERE (" . TBL_MAPS . ".Game = '" . $event->getField('Game') . "')";
$result_Maps = $sql->db_Query($q_Maps);
$numMaps = mysql_numrows($result_Maps);
if ($numMaps > 0) {
$text .= EB_MATCHR_L42;
$text .= '<table id="matchresult_selectMap" class="table_left"><tbody>';
for ($matchMap = 0; $matchMap < min($numMaps, $event->getField('MaxMapsPerMatch')); $matchMap++) {
$text .= '<tr>';
$text .= '<td><select class="tbox" name="map' . $matchMap . '">';
$text .= '<option value="0"';
$text .= '>' . EB_MATCHR_L43 . '</option>';
for ($map = 0; $map < $numMaps; $map++) {
$mID = mysql_result($result_Maps, $map, TBL_MAPS . ".MapID");
$mImage = mysql_result($result_Maps, $map, TBL_MAPS . ".Image");
$mName = mysql_result($result_Maps, $map, TBL_MAPS . ".Name");
$mDescrition = mysql_result($result_Maps, $map, TBL_MAPS . ".Description");
$text .= '<option value="' . $mID . '"';
if (strtolower($_POST['map' . $matchMap]) == $mID) {
$text .= ' selected="selected"';
}
$text .= '>' . $mName . '</option>';
}
$text .= '</select></td>';
$text .= '</tr>';
}
$text .= '</tbody></table>';
$text .= '<br />';
}
}
if ($action != 'matchschedule' && $action != 'matchschedulededit') {
// Comments
//----------------------------------
$text .= '<br />';
$text .= '<div style="display:table; margin-left:auto; margin-right:auto;">';
$text .= EB_MATCHR_L30 . '<br />';
$text .= '<textarea class="tbox" id="match_comment" name="match_comment" style="width:400px" cols="70" ' . $insertjs . '>' . $comment . '</textarea>';
if (!e_WYSIWYG) {
$text .= '<br />' . display_help("helpb", "comment");
}
$text .= '</div>';
$text .= '<br />';
}
if ($action == 'matchschedule' || $action == 'matchschedulededit') {
//<!-- Date Selection -->
$text .= EB_MATCHR_L49;
$text .= '
<table>
<tr>
<td>
<table>
<tr>
<td>
<div><input class="tbox timepicker" type="text" name="date_scheduled" id="f_date" value="' . $date_scheduled . '" readonly="readonly" /></div>
</td>
<td>
<div><input class="eb_button" type="button" value="' . EB_MATCHR_L51 . '" onclick="clearDate(this.form);"/></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
';
}
$text .= '<div style="display:table; margin-left:auto; margin-right:auto;">';
$text .= '<input type="hidden" name="nbr_players" value="' . $nbr_players . '"/>';
$text .= '<input type="hidden" name="nbr_teams" value="' . $nbr_teams . '"/>';
$text .= '<input type="hidden" name="userclass" value="' . $userclass . '"/>';
$text .= '<input type="hidden" name="reported_by" value="' . $reported_by . '"/>';
$text .= '<input type="hidden" name="time_reported" value="' . $time_reported . '"/>';
$text .= '<input class="eb_button" type="submit" value="' . $matchreport_str . '" name="submit_match"/>';
$text .= '<span id="ajaxSpinnerContainer">
<img src="' . e_PLUGIN . 'ebattles/images/ajax-loader.gif" title="working..." alt="working..."/>
' . EB_EVENTM_L157 . '
</span>';
$text .= '</div>';
$text .= '</div>';
$text .= '</form>';
}
示例4: switch
$text .= "</select>\n\t\t</td></tr>";
switch ($pref['eventpost_editmode']) {
case 1:
$insertjs = "rows='15' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'";
break;
case 2:
$insertjs = "rows='25' ";
break;
default:
$insertjs = "rows='15' ";
}
$text .= "\n\t\t<tr><td class='forumheader3'>" . EC_LAN_32 . " </td><td class='forumheader3'>\n\t\t<input class='tbox' type='text' name='ne_location' size='60' value='" . (isset($ne_location) ? $ne_location : "") . "' maxlength='200' style='width:95%' />\n\t\t</td></tr>\n\n\t\t<tr><td class='forumheader3'>" . EC_LAN_57 . " *</td><td class='forumheader3'>\n\t\t<textarea class='tbox' id='ne_event' name='ne_event' cols='59' style='width:95%' {$insertjs}>" . (isset($ne_event) ? $ne_event : "") . "</textarea>";
if ($pref['eventpost_editmode'] == 1) {
// Show help
require_once e_HANDLER . "ren_help.php";
$text .= "<br />" . display_help("helpb", 'event');
}
$text .= "</td></tr>";
// Only display for forum thread/link if required. No point if not wanted
if (isset($pref['eventpost_forum']) && $pref['eventpost_forum'] == 1) {
$text .= "\n\t\t\t<tr><td class='forumheader3'>" . EC_LAN_58 . " </td><td class='forumheader3'>\n\t\t\t<input class='tbox' type='text' name='ne_thread' size='60' value='" . (isset($ne_thread) ? $ne_thread : "") . "' maxlength='100' style='width:95%' />\n\t\t\t</td></tr>";
}
// If the user is logged in and has their email set plus the field is empty then put in
// their email address. They can always take it out if they want, its not a required field
if (empty($ne_email) && $action == "ne" && defined('USEREMAIL')) {
$ne_email = USEREMAIL;
}
$text .= "\n\t\t<tr><td class='forumheader3'>" . EC_LAN_59 . " </td><td class='forumheader3'>\n\t\t<input class='tbox' type='text' name='ne_email' size='60' value='{$ne_email}' maxlength='150' style='width:95%' />\n\t\t</td></tr>";
//triggerHook
$hid = $action == 'ed' ? intval($qs[1]) : '';
$data = array('method' => 'form', 'table' => 'event', 'id' => $hid, 'plugin' => 'calendar_menu', 'function' => 'CalendarCreate');
示例5: __
if (!$debug) {
api_data_source_disable_multi($data_sources_to_act_on);
}
echo __("Removing device but keeping resources for device id ") . $item["id"];
}
api_device_remove($item["id"]);
if (is_error_message()) {
echo __(". ERROR: Failed to remove this device") . "\n";
} else {
echo __(". Success - removed device id: ") . ($item["id"]) . "\n";
}
}
}else{
display_help($me);
exit(0);
}
function display_help($me) {
echo "Remove Device Script 1.0" . ", " . __("Copyright 2004-2010 - The Cacti Group") . "\n";
echo __("A simple command line utility to remove a device from Cacti") . "\n\n";
echo __("usage: ") . $me . " [--device-id=] [--site-id=] [--poller-id=]\n";
echo " [--description=] [--ip=] [--template=] [--notes=\"[]\"] [--disabled]\n";
echo " [--avail=[pingsnmp]] [--ping-method=[tcp] --ping-port=[N/A, 1-65534]] --ping-retries=[2] --ping-timeout=[500]\n";
echo " [--version=1] [--community=] [--port=161] [--timeout=500]\n";
echo " [--username= --password=] [--authproto=] [--privpass= --privproto=] [--context=]\n";
echo " [-d]\n\n";
echo __("At least one device related parameter is required. All matching devices will be deleted") . "\n";
echo " --device-id " . __("the numerical ID of the device") . "\n";
echo " --site-id " . __("the numerical ID of the site") . "\n";
示例6: varset
$sel = varset($_POST['cat_id'], '') == $cat_id ? "selected='selected'" : "";
$text .= "<option value='{$cat_id}' {$sel}>" . $tp->toHTML($cat_name, FALSE, "defs") . "</option>";
}
$text .= "</select>";
}
$text .= "\n </td>\n</tr>\n<tr>\n <td style='width:20%' class='forumheader3'>" . LAN_62 . "</td>\n\t<td style='width:80%' class='forumheader3'>\n <input class='tbox' type='text' id='submitnews_title' name='submitnews_title' size='60' value='" . $tp->toHTML($_POST['submitnews_title'], TRUE, 'USER_TITLE') . "' maxlength='200' style='width:90%' />\n\t</td>\n</tr>";
if (e_WYSIWYG) {
$insertjs = "rows='25'";
} else {
require_once e_HANDLER . "ren_help.php";
$insertjs = "rows='15' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'";
}
$text .= "\n<tr>\n <td style='width:20%' class='forumheader3'>" . LAN_135 . "</td>\n\t<td style='width:80%' class='forumheader3'>\n <textarea class='e-wysiwyg tbox' id='submitnews_item' name='submitnews_item' cols='80' style='max-width:95%' {$insertjs}>" . $tp->toForm($_POST['submitnews_item'], TRUE, 'USER_BODY') . "</textarea><br />";
// toHTML is dangerous.
if (!e_WYSIWYG) {
$text .= display_help("helpb", "submitnews");
}
$text .= "\n </td>\n</tr>";
if ($pref['subnews_attach'] && $pref['upload_enabled'] && check_class($pref['upload_class']) && FILE_UPLOADS) {
$text .= "\n <tr>\n <td style='width:20%' class='forumheader3'>" . SUBNEWSLAN_5 . "<br /><span class='smalltext'>" . SUBNEWSLAN_6 . "</span></td>\n <td style='width:80%' class='forumheader3'>\n <input class='tbox' type='file' name='file_userfile[]' style='width:90%' multiple='multiple' />\n </td>\n </tr>";
}
$text .= "\n <tr>\n <td colspan='2' style='text-align:center' class='forumheader'>\n <input class='button' type='submit' name='submitnews_submit' value='" . LAN_136 . "' />\n </td>\n </tr>\n </table>\n </form>\n</div>";
$ns->tablerender(LAN_136, $text);
require_once FOOTERF;
function headerjs()
{
$adder = "";
if (e_WYSIWYG) {
$adder = 'tinyMCE.triggerSave();';
}
$script = "\n <script type=\"text/javascript\">\n function frmVerify()\n {\n {$adder}\n if(document.getElementById('submitnews_title').value == \"\")\n {\n alert('" . SUBNEWSLAN_1 . "');\n return false;\n }\n\n if(document.getElementById('submitnews_item').value == \"\")\n {\n alert('" . SUBNEWSLAN_2 . "');\n return false;\n }\n }\n </script>";
示例7: build_config
}
/* Build a config file if requested */
if ($cmd_build) {
build_config($cmd_build_file, $cmd_filter, $cmd_email, $cmd_email_html, $cmd_email_csv);
exit;
}
/* Check command line options */
if (empty($cmd_config)) {
print "ERROR: Required command line option, -config not specified.\n";
display_help($version);
exit;
}
/* Check for track file */
if (empty($cmd_track)) {
print "ERROR: Required command line option -track not specified.\n";
display_help($version);
exit;
}
/* Parse the configuration */
debug("Checking configuration file");
if (!read_config($cmd_config)) {
print "ERROR: Configuration issue.\n";
exit;
}
if ($cmd_check) {
print "Configurations file checked successfully.\n";
exit;
}
/* Get current time, so that all customers are processed against the same time */
if (empty($cmd_current_time)) {
$current_time = time();
示例8: display_help
use ORC\Application;
if ($argc == 0) {
return display_help();
}
$ignore_exists = false;
$yes_to_all = false;
foreach ($argv as $arg) {
if (false !== strpos($arg, '=')) {
list($cmd, $value) = explode('=', $arg, 2);
} else {
$cmd = $arg;
}
switch ($cmd) {
case '-h':
case '--help':
return display_help();
break;
case '-b':
case '--app-dir':
$dir_app_root = realpath($value);
break;
case '-i':
case '--ignore-exists':
$ignore_exists = true;
break;
case '-y':
$yes_to_all = true;
break;
}
}
if (empty($dir_app_root)) {
示例9: TeamChallengeForm
function TeamChallengeForm($event_id, $challengerpuid, $challengedtid)
{
global $sql;
global $tp;
global $time;
$event = new Event($event_id);
$output .= '<form action="' . e_PLUGIN . 'ebattles/challengerequest.php?eventid=' . $event_id . '" method="post">';
$output .= '<b>' . EB_CHALLENGE_L3 . '</b><br />';
$output .= '<br />';
// Challenger Info
// Attention here, we use user_id, so there has to be 1 user for 1 player
$output .= '<b>' . EB_CHALLENGE_L5 . '</b>';
// Challenger
$q = "SELECT " . TBL_PLAYERS . ".*, " . TBL_USERS . ".*, " . TBL_TEAMS . ".*" . " FROM " . TBL_PLAYERS . ", " . TBL_GAMERS . ", " . TBL_USERS . ", " . TBL_TEAMS . " WHERE (" . TBL_PLAYERS . ".Event = '{$event_id}')" . " AND (" . TBL_TEAMS . ".TeamID = " . TBL_PLAYERS . ".Team)" . " AND (" . TBL_PLAYERS . ".Gamer = " . TBL_GAMERS . ".GamerID)" . " AND (" . TBL_USERS . ".user_id = " . TBL_GAMERS . ".User)" . " AND (" . TBL_USERS . ".user_id = '{$challengerpuid}')";
$result = $sql->db_Query($q);
$uteam = mysql_result($result, 0, TBL_PLAYERS . ".Team");
$trank = mysql_result($result, 0, TBL_TEAMS . ".Rank");
list($tclan, $tclantag, $tclanid) = getClanInfo($uteam);
if ($trank == 0) {
$trank_txt = EB_EVENT_L54;
} else {
$trank_txt = "#{$trank}";
}
$str = $tclan . ' (' . $trank_txt . ')';
$output .= ' ' . $str . '<br />';
// Challenged Info
$output .= '<b>' . EB_CHALLENGE_L6 . '</b>';
// Challenged
$q = "SELECT " . TBL_TEAMS . ".*" . " FROM " . TBL_TEAMS . " WHERE (" . TBL_TEAMS . ".TeamID = '{$challengedtid}')";
$result = $sql->db_Query($q);
$uteam = mysql_result($result, 0, TBL_TEAMS . ".TeamID");
$trank = mysql_result($result, 0, TBL_TEAMS . ".Rank");
list($tclan, $tclantag, $tclanid) = getClanInfo($uteam);
if ($trank == 0) {
$trank_txt = EB_EVENT_L54;
} else {
$trank_txt = "#{$trank}";
}
$str = $tclan . ' (' . $trank_txt . ')';
$output .= ' ' . $str . '<br />';
$output .= '<br />';
// Select Dates
$output .= '<b>' . EB_CHALLENGE_L7 . '</b><br />';
// Select Dates
$output .= '<table class="table_left">';
for ($date = 1; $date <= $event->getField('MaxDatesPerChallenge'); $date++) {
//<!-- Select date Date -->
$output .= '
<tr>
<td><b>' . EB_CHALLENGE_L10 . ' #' . $date . '</b></td>
<td>
<table>
<tr>
<td>
<div><input class="tbox timepicker" type="text" name="date' . $date . '" id="f_date' . $date . '" value="' . $_POST['date' . $date] . '" readonly="readonly" /></div>
</td>
<td>
<div><input class="eb_button" type="button" value="' . EB_EVENTM_L34 . '" onclick="clearDate(this.form, ' . $date . ');"/></div>
</td>
</tr>
</table>
</td>
</tr>
';
}
$output .= '</table>';
// comments
//----------------------------------
if (isset($_POST['challenge_comments'])) {
$comments = $tp->toDB($_POST['challenge_comments']);
} else {
$comments = '';
}
$output .= '<br />';
$output .= '<div>';
$output .= EB_CHALLENGE_L8 . '<br />';
$output .= '<textarea class="tbox" id="challenge_comments" name="challenge_comments" style="width:500px" cols="70" ' . $insertjs . '>' . $comments . '</textarea>';
if (!e_WYSIWYG) {
$output .= '<br />' . display_help("helpb", "comments");
}
$output .= '</div>';
$output .= '<br />';
$output .= '<div>';
$output .= '<input type="hidden" name="submitted_by" value="' . $challengerpuid . '"/>';
$output .= '<input type="hidden" name="Challenged" value="' . $challengedtid . '"/>';
$output .= '
</div>
<div>
' . ebImageTextButton('challenge_team_submit', 'challenge.png', EB_CHALLENGE_L9) . '
</div>
</form>
';
return $output;
}
示例10: db
// Create a new category
$text .= "\n\t<form id='cat_new' method='post' action='" . e_SELF . "'>\n\t\t<div style='text-align:center;'>\n\t\t\t<div style='width:80%'>\n\t\t\t\t<fieldset>\n\t\t\t\t\t<legend>\n\t\t\t\t\t\t" . EASYSHOP_CAT_03 . "\n\t\t\t\t\t</legend>\n\t\t\t\t\t<table border='0' cellspacing='15' width='100%'>";
// Only display Main Category selection if there are active Main Categories
if ($sql->db_Count(DB_TABLE_SHOP_MAIN_CATEGORIES, "(*)", "WHERE main_category_active_status = '2'") > 0) {
$text .= "\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<b>" . EASYSHOP_CAT_22 . "</b>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<select class='tbox' name='category_main_id'>";
$sql2 = new db();
$sql2->db_Select(DB_TABLE_SHOP_MAIN_CATEGORIES, "*", "WHERE main_category_active_status = '2' ORDER BY main_category_order", false);
// Select only active main categories
$text .= "<option value='' selected='selected'></option>";
// Add a blank option too
while ($row2 = $sql2->db_Fetch()) {
if ($row2['main_category_id'] == $category_main_id) {
$text .= "\n\t\t <option value='" . $row2['main_category_id'] . "' selected='selected'>" . $row2['main_category_name'] . "</option>";
} else {
$text .= "\n\t\t <option value='" . $row2['main_category_id'] . "'>" . $row2['main_category_name'] . "</option>";
}
}
$text .= "\n\t\t </select>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>";
}
$text .= "\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<b>" . EASYSHOP_CAT_04 . "</b>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<input class='tbox' size='25' type='text' name='category_name' />\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td valign='top'>\n\t\t\t\t\t\t\t\t<b>" . EASYSHOP_CAT_05 . "</b>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<textarea class='tbox' cols='50' rows='7' name='category_description' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'></textarea><br />" . display_help('helpb') . "\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td valign='top'>\n\t\t\t\t\t\t\t\t<b>" . EASYSHOP_CAT_06 . "</b>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t" . EASYSHOP_CAT_07 . "\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td valign='top'>\n <input type='text' class='tbox' id='category_image' name='category_image' value='" . $category_image . "' /> " . EASYSHOP_CAT_08 . "<br />";
// Show icons with width 16 of the array of images and put name in variable $category_image
foreach ($image_array as $icon) {
$text .= "<a href=\"javascript:insertext('" . $icon['fname'] . "','category_image','catimg')\"><img src='" . $icon['path'] . $icon['fname'] . "' style='border:0' alt='' width='" . $icon_width . "' /></a> ";
}
$text .= "\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<b>" . EASYSHOP_CAT_15 . "</b>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='category_active_status' value='1' />\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td valign='top'>\n\t\t\t\t\t\t\t\t<b>" . EASYSHOP_CAT_23 . "</b>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td valign='top'>\n\t\t\t\t\t\t\t\t" . r_userclass("category_class", $category_class, "off", "public,guest,member,nobody,main,admin,classes") . "\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td valign='top'>\n\t\t\t\t\t\t\t\t<b>" . EASYSHOP_CAT_25 . "</b>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td valign='top'>\n\t\t\t\t\t\t\t\t" . r_userclass("category_order_class", $category_order_class, "off", "public,guest,member,nobody,main,admin,classes") . "\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</table>\n\t\t\t\t\t<br />\n\t\t\t\t\t<div style='text-align:center;'>\n\t\t\t\t\t\t<input type='hidden' name='create_category' value='1' />\n\t\t\t\t\t\t<input class='button' type='submit' value='" . EASYSHOP_CAT_09 . "' />\n\t\t\t\t\t</div>\n\t\t\t\t\t<br />\n\t\t\t\t</fieldset>\n\t\t\t</div>\n\t\t</div>\n\t</form>";
// Render the value of $text in a table.
$title = EASYSHOP_CAT_00;
$ns->tablerender($title, $text);
}
// END MAIN ADMIN CATEGORIES
require_once e_ADMIN . 'footer.php';
示例11: makeNewsletter
function makeNewsletter($edit = FALSE)
{
// Passed data is from DB
if ($edit) {
$newsletter_title = $this->e107->tp->toFORM($edit['newsletter_title']);
$newsletter_text = $this->e107->tp->toFORM($edit['newsletter_text']);
$newsletter_issue = $this->e107->tp->toFORM($edit['newsletter_issue']);
}
if (!$this->e107->sql->db_Select('newsletter', '*', "newsletter_parent='0' ")) {
$this->message = NLLAN_05;
return;
}
$nlArray = $this->e107->sql->db_getList();
$text .= "<div style='text-align:center; margin-left:auto; margin-right: auto;'>\n\t\t<form action='" . e_SELF . "' id='newsletterform' method='post'>\n\t\t<table style='" . ADMIN_WIDTH . "' class='fborder'>\n\n\t\t<tr>\n\t\t<td style='width:30%;' class='forumheader3'>" . NLLAN_30 . "</td>\n\t\t<td style='width:70%' class='forumheader3'>\n\n\t\t<select name='newsletter_parent' class='tbox'>\n\t\t";
foreach ($nlArray as $nl) {
$text .= "<option value='" . $nl['newsletter_id'] . "'>" . $nl['newsletter_title'] . "</option>\n";
}
$text .= "</select>\n\n\t\t<tr>\n\t\t<td style='width:30%;' class='forumheader3'>" . NLLAN_31 . "</td>\n\t\t<td style='width:70%' class='forumheader3'><input class='tbox' type='text' name='newsletter_title' size='60' value='{$newsletter_title}' maxlength='200' /></td>\n\t\t</tr>\n\t\t<tr>\n\t\t<td style='width:30%;' class='forumheader3'>" . NLLAN_32 . "</td>\n\t\t<td style='width:70%' class='forumheader3'><input class='tbox' type='text' name='newsletter_issue' size='10' value='{$newsletter_issue}' maxlength='200' /></td>\n\t\t</tr>\n\t\t<tr>\n\t\t<td style='width:30%;' class='forumheader3'>" . NLLAN_33 . "</td>\n\t\t<td style='width:70%' class='forumheader3'>\n\t\t\t<textarea class='tbox' id='data' name='newsletter_text' cols='80' rows='10' style='width:95%' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>{$edit['newsletter_text']}</textarea><br/>" . display_help('helpa') . "\n\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t<td colspan='2' style='text-align:center' class='forumheader'>\n\t\t" . ($edit ? "<input class='button' type='submit' name='createIssue' value='" . NLLAN_34 . "' />\n<input type='hidden' name='editid' value='{$edit['newsletter_id']}' />" : "<input class='button' type='submit' name='createIssue' value='" . NLLAN_35 . "' />") . "\n\t\t</td>\n\t\t</tr>\n\t\t</table>\n\t\t</form>\n\t\t</div>\n\t\t";
$caption = $edit ? NLLAN_36 : NLLAN_37;
$this->e107->ns->tablerender($caption, $text);
}
示例12: exit
EOF;
exit(0);
}
$options = array('server-useHTTPS' => false, 'server-host' => 'localhost', 'usvn-url-path' => '/usvn', 'htaccess-file' => USVN_PUB_DIR, 'database-path' => USVN_APP_DIR . '/install/sql/', 'admin-firstname' => 'System', 'admin-lastname' => 'Administrator', 'admin-email' => '', 'output-apache-config' => false);
$mandatory_options = array('config-file', 'admin-login', 'admin-password');
/*
* Using for+switch because getopt() might not work properly with PHP < 5.3:
* - Longopts might not work on some systems
* - No support for optional arguments (...)
*/
for ($i = 0; $i < $argc; $i++) {
switch (strtolower($argv[$i])) {
case '-h':
case '--help':
display_help($options);
break;
case '-o':
case '--output-apache-config':
$options['output-apache-config'] = true;
break;
case '-c':
case '--config-file':
$options['config-file'] = $argv[++$i];
break;
case '-a':
case '--htaccess':
$options['htaccess-file'] = $argv[++$i];
break;
case '-l':
case '--admin-login':
示例13: parse_arg
function parse_arg($argv) {
global $debug;
// We skip the program name [0]
next($argv);
while (list ($nb, $val) = each ($argv)) {
switch($val) {
case '-h':
case '--help':
$params['action'] = 'help';
break;
case '-a':
case '--action':
list($nb2, $val2) = each ($argv);
$params['action'] = $val2;
if ($debug > 0) { echo "-f -> \$action=$val2\n"; }
break;
case '-d':
case '--domain_id':
list($nb3, $val3) = each ($argv);
$params['domain_id'] = $val3;
if ($debug > 0) { echo "-f -> \$domain_id=$val3\n"; }
break;
case '-l':
case '--list_id':
list($nb3, $val3) = each ($argv);
$params['list_id'] = $val3;
if ($debug > 0) { echo "-f -> \$list_id=$val3\n"; }
break;
case '-f':
case '--from-file':
list($nb3, $val3) = each ($argv);
$params['from_file'] = $val3;
if ($debug > 0) { echo "-f -> \$from_file=$val3\n"; }
break;
case '-t':
case '--to-file':
list($nb4, $val4) = each ($argv);
$params['to_file'] = $val4;
if ($debug > 0) { echo "-t -> \$to_file=$val4\n"; }
break;
case '-v':
case '--verbose':
list($nb5, $val5) = each ($argv);
$params['verbose'] = $val5;
if ($debug > 0) { echo "-v -> \$verbose=$val5\n"; }
break;
}
}
// Default values
if ($params['action'] == '') {
$params['action'] = 'help';
}
if ($params['domain_id'] == '') {
$params['domain_id'] = 1;
}
// Check list id values
if ($params['list_id'] != '') {
$lists = explode(',', $params['list_id']);
foreach ($lists as $id) {
if ($id > 0) {
$new_list[] = $id;
}
}
$params['list_id'] = implode(',', $new_list);
}
if ($params['action'] == 'help') {
display_help();
exit;
}
return $params;
}
示例14: display_help
$text .= $rs->form_close();
} else {
$text .= "<div style='text-align:center'>" . WMLAN_09 . "</div>";
}
$ns->tablerender(WMLAN_00, $text);
}
// Create and Edit
if ($action == "create" || $action == "edit") {
if ($sub_action == "edit") {
$sql->db_Select("generic", "gen_intdata, gen_ip, gen_chardata", "gen_id = {$id}");
$row = $sql->db_Fetch();
}
$text = "\n\t\t<div style='text-align:center'>\n\t\t<form method='post' action='" . e_SELF . "' id='wmform'>\n\t\t<fieldset id='code-wmessage-create'>\n <table class='table adminform'>\n\t\t<colgroup>\n\t\t\t<col class='col-label' />\n\t\t\t<col class='col-control' />\n\t\t</colgroup>\n\t\t";
$text .= "\n\t\t<tr>\n\t\t<td>" . WMLAN_10 . "</td>\n\t\t<td>\n\t\t<input type='text' class='tbox' id='wm_caption' name='wm_caption' maxlength='80' style='width:95%' value=\"" . $tp->toForm($row['gen_ip']) . "\" />\n\t\t</td>\n\t\t</tr>";
$text .= "<tr>\n\t\t<td>" . WMLAN_04 . "</td>\n\t\t<td>\n\t\t<textarea class='e-wysiwyg tbox' id='data' name='data' cols='70' rows='15' style='width:95%' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this)'>" . $tp->toForm($row['gen_chardata']) . "</textarea>\n\t\t<br />";
$text .= display_help("helpb", "admin");
$text .= "\n\t\t</td>\n\t\t</tr>\n\t\t<tr><td>" . WMLAN_03 . "</td>\n\t\t<td>" . r_userclass("wm_active", $row['gen_intdata'], "off", "public,guest,nobody,member,admin,classes") . "</td></tr>\n\t\t</table>";
$text .= "\n\t\t<div class='buttons-bar center'>";
if ($sub_action == "edit") {
$text .= $frm->admin_button('wm_update', LAN_UPDATE, 'update');
} else {
$text .= $frm->admin_button('wm_insert', LAN_CREATE);
}
$text .= "<input type='hidden' name='wm_id' value='" . $id . "' />";
$text .= "</div>\n\t\t</fieldset>\n\t\t</form>\n\t\t</div>";
$ns->tablerender(WMLAN_01, $text);
}
if ($action == "opt") {
global $pref, $ns;
$text = "<div style='text-align:center'>\n\t\t<form method='post' action='" . e_SELF . "?" . e_QUERY . "'>\n\n\t\t<fieldset id='code-wmessage-options'>\n <table class='table adminform'>\n\t\t<colgroup>\n\t\t\t<col class='col-label' />\n\t\t\t<col class='col-control' />\n\t\t</colgroup>\n\t\t<tr>\n\n\t\t<td>\n\t\t" . WMLAN_05 . "<br />\n\t\t<span class='smalltext'>" . WMLAN_06 . "</span>\n\t\t</td>\n\t\t<td>" . (varset($pref['wm_enclose'], 0) ? "<input type='checkbox' name='wm_enclose' value='1' checked='checked' />" : "<input type='checkbox' name='wm_enclose' value='1' />") . "\n\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\n\t\t<td>\n\t\t" . WMLAN_07 . "\n\t\t</td>\n\t\t<td>" . (varset($pref['wmessage_sc'], 0) ? "<input type='checkbox' name='wmessage_sc' value='1' checked='checked' />" : "<input type='checkbox' name='wmessage_sc' value='1' />") . "\n\t\t</td>\n\t\t</tr>\n\t\t</table>\n\n\t\t<div class='buttons-bar center'>";
$text .= $frm->admin_button('updateoptions', LAN_SAVE);
示例15: while
$i = 0;
$sql->db_Select("e107slider", "*", "ORDER BY id DESC", false);
while ($row = $sql->db_Fetch()) {
$id[$i] = $row['id'];
$caption[$i] = $row['caption'];
$image[$i] = $row['image'];
$link[$i] = $row['link'];
$i++;
}
if ($es_head != '') {
$es_head = ES_PLUGIN_SL_1;
} else {
$es_head = ES_PLUGIN_SL_2;
}
//-----------------------------------------------------------------------------------------------------------+
$file_handle = opendir(e_PLUGIN . "e107slider/slides");
while ($file_name = readdir($file_handle)) {
if ($file_name == "." || $file_name == "..") {
continue;
}
$iconlist[] = $file_name;
}
closedir($file_handle);
while (list($key, $icon) = each($iconlist)) {
$icontext .= " <a href='javascript:addtext(\"{$icon}\")'><img src='" . e_PLUGIN . "e107slider/slides/{$icon}' style='border:0px;max-width:200px;max-height:80px;' alt='' /></a>";
}
//-----------------------------------------------------------------------------------------------------------+
$es_text = "\n<form id='dataform' method='post' action='" . e_SELF . "'>\n\t<div class='vs-info'>\n\t\t" . $es_message . "\n\t</div>\n\t<table class='vs-table' style='" . ADMIN_WIDTH . "'>\n \t\t<thead>\n \t\t\t<tr>\n\t\t\t\t<th colspan='2'><h3>" . $es_head . "</h3></th>\n\t\t\t</tr>\n\t\t</thead>\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t<td style='width:30%'>" . ES_PLUGIN_SL_5 . "</td>\n\t\t\t\t<td style='width:70%;'>\n\t\t\t\t\t<input class='tbox' type='text' name='es_image' style='width: 40%' value='" . $es_image . "' maxlength='200' />\n\t\t\t\t\t<br /><br />\n\t\t\t\t\t<div>" . $icontext . "\n\t\t\t\t\t</div>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td style='width:30%'>" . ES_PLUGIN_SL_4 . "</td>\n\t\t\t\t<td style='width:70%;'>\n\t\t\t\t\t<textarea class='tbox' name='es_caption' style='width: 100%' rows='4' onselect=\"storeCaret(this);\" onclick=\"storeCaret(this);\" onkeyup=\"storeCaret(this);\">" . $es_caption . "</textarea><br />\n";
$es_text .= display_help('helpb') . "\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td style='width:30%'>" . ES_PLUGIN_SL_6 . "</td>\n\t\t\t\t<td style='width:70%;'>\n\t\t\t\t\t<input class='tbox' type='text' name='es_link' style='width: 70%' value='" . $es_link . "' maxlength='200' />\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td colspan='2' class='table-end'>\n\t\t\t\t\t\t" . ($action == "edit" ? "<input type='hidden' name='es_id' value='" . $es_id . "' />" : "") . "\n\t\t\t\t\t\t<input class='button' type='submit' name='" . ($action == "edit" ? "update_ES" : "create_ES") . "' value='" . ($action == "edit" ? ES_PLUGIN_SL_7 : ES_PLUGIN_SL_8) . "' />\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</tbody>\n\t</table>\n</form>\n<p><center>e107Slider v" . $pref['plug_installed']['e107slider'] . " by <a href='http://www.xenthemes.com' target='_blank'>Xen Themes</a></center></p>\n";
$ns->tablerender(es_PLUGIN_1, $es_text);
require_once e_ADMIN . "footer.php";