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


PHP print_html_nav函数代码示例

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


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

示例1: html_show_theme

function html_show_theme($rows, $pageNav, $sort)
{
    global $wpdb;
    ?>
    <script language="javascript">
	function ordering(name,as_or_desc)
	{
		document.getElementById('asc_or_desc').value=as_or_desc;		
		document.getElementById('order_by').value=name;
		document.getElementById('admin_form').submit();
	}
function doNothing() {  
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
    if( keyCode == 13 ) {
        if(!e) var e = window.event;
        e.cancelBubble = true;
        e.returnValue = false;
        if (e.stopPropagation) {
                e.stopPropagation();
                e.preventDefault();
        }
}
}
	</script>
    <script language="JavaScript">
</script>
    <form method="post" onkeypress="doNothing()"  action="admin.php?page=Spider_Video_Player_Themes" id="admin_form" name="admin_form">
	<?php 
    $sp_vid_nonce = wp_create_nonce('nonce_sp_vid');
    ?>
	<table cellspacing="10" width="100%">
        <tr>   
<td width="100%" style="font-size:14px; font-weight:bold"><a href="https://web-dorado.com/spider-video-player-wordpress-guide-step-5/spider-video-player-wordpress-guide-step-5-1.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br />
This section allows you to create themes to customize the design of the player. <a href="https://web-dorado.com/spider-video-player-wordpress-guide-step-5/spider-video-player-wordpress-guide-step-5-1.html" target="_blank" style="color:blue; text-decoration:none;">More...</a></td>   
      </tr>
    <tr>
    <td style="width:80px">
    <?php 
    echo "<h2 style=\"float:left\">" . 'Themes' . "</h2>";
    ?>
    <input type="button" style="float:left; position:relative; top:10px; margin-left:20px" class="button-secondary action" value="Add a Theme" name="custom_parametrs" onclick="window.location.href='admin.php?page=Spider_Video_Player_Themes&task=add_theme'" />
    </td>
   

	<td colspan="7" align="right" style="font-size:16px;">
  		<a href="https://web-dorado.com/files/fromSVP.php" target="_blank" style="color:red; text-decoration:none;">
		<img src="<?php 
    echo plugins_url("images/header.png", __FILE__);
    ?>
" border="0" alt="https://web-dorado.com/files/fromSVP.php" width="215">
		</a>
        </td>
    </tr>
    </table>
    	<label for="search_events_by_title" style="font-size:14px">Title: </label>
    <?php 
    $serch_value = '';
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = esc_js(esc_html(stripslashes($_POST['search_events_by_title'])));
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions" style="width:180px;">
        <input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
	<div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
		 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
		 <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=Spider_Video_Player_Themes\'" class="button-secondary action">
    </div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
  <table class="wp-list-table widefat fixed pages" style="width:95%">
 <thead>
 <TR>
 <th scope="col" id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style=" width:120px" ><a href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
 <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style="" ><a href="javascript:ordering('title',<?php 
//.........这里部分代码省略.........
开发者ID:MichaelEniolade,项目名称:MechrisPlanetWebsite,代码行数:101,代码来源:Themes_function.html.php

示例2: html_show_spider_event

function html_show_spider_event($rows, $pageNav, $sort, $calendar_id, $cal_name)
{
    global $wpdb;
    ?>
      <style>
    .calendar .button
		{
		display:table-cell !important;
		}
    
    </style>
    <script language="javascript">
	function ordering(name,as_or_desc)
	{
		document.getElementById('asc_or_desc').value=as_or_desc;		
		document.getElementById('order_by').value=name;
		document.getElementById('admin_form').submit();
	}
 	function doNothing() {  
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
    if( keyCode == 13 ) {
        if(!e) var e = window.event;
        e.cancelBubble = true;
        e.returnValue = false;
        if (e.stopPropagation) {
                e.stopPropagation();
                e.preventDefault();
        }
}
}
	</script>
    <form method="post" onkeypress="doNothing()" action="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php 
    echo $calendar_id;
    ?>
" id="admin_form" name="admin_form">
	<table cellspacing="10" width="95%">
            <tr>
        <td width="100%" style="font-size:14px; font-weight:bold"><a href="http://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br>
This section allows you to create/edit the events of a particular calendar.<br /> You can add
unlimited number of events for each calendar. <a href="http://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">More...</a></td>
            <td colspan="7" align="right" style="font-size:16px;">
              <a href="http://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
            <img src="<?php 
    echo plugins_url('images/header.png', __FILE__);
    ?>
" border="0" alt="http://web-dorado.com/files/fromSpiderCalendarWP.php" width="215"><br>
            Get the full version&nbsp;&nbsp;&nbsp;&nbsp;
            </a>
 			 </td>
   			</tr>
    <tr>
    <td width="100%" >
    <?php 
    echo "<h2>" . 'Event Manager for calendar <font style="color:red">' . $cal_name . "</font></h2>";
    ?>
    </td>
    <td ><p class="submit" style="padding:0px; text-align:left"><input class="button-primary" type="button" value="Add a Event" name="custom_parametrs" onclick="window.location.href='admin.php?page=SpiderCalendar&task=add_event&calendar_id=<?php 
    echo $calendar_id;
    ?>
'" />
    </p></td>
<td >
<p class="submit" style="padding:0px; text-align:left"><input type="button" class="button-primary" value="Back" name="custom_parametrs" onclick="window.location.href='admin.php?page=SpiderCalendar'" /></p>
	</td>
   
  

  
    </tr>
    </table>
    
   
    <?php 
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = $_POST['search_events_by_title'];
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions" style="width:180px;">
    	<label for="search_events_by_title" style="font-size:14px">Title: </label>
        <input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
			<div class="alignleft actions">		    From:<input style="width: 90px;" class="inputbox" type="text" name="startdate" id="startdate" size="10" maxlength="10" value="' . $_POST["startdate"] . '"> 
<input type="reset" class="button" value="..." onclick="return showCalendar(\'startdate\',\'%Y-%m-%d\');"> To:  <input style="width: 90px;" class="inputbox" type="text" name="enddate" id="enddate" size="10" maxlength="10" value="' . $_POST["enddate"] . '"> 
<input type="reset" class="button" value="..." onclick="return showCalendar(\'enddate\',\'%Y-%m-%d\');">
    </div>
	<div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\';document.getElementById(\'serch_or_not\').value=\'search\'; document.getElementById(\'admin_form\').submit();" class="button-secondary action"><input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=' . $calendar_id . '\'" class="button-secondary action">
    </div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
  <table class="wp-list-table widefat fixed pages" style="width:95%">
 <thead>
 <TR>
 <th scope="col"  id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
//.........这里部分代码省略.........
开发者ID:andripriyanto,项目名称:WebTKJ-BPI,代码行数:101,代码来源:calendar_functions.html.php

示例3: html_showsliders

function html_showsliders($rows, $pageNav, $sort, $cat_row)
{
    global $wpdb;
    ?>
    <script language="javascript">
		function ordering(name,as_or_desc)
		{
			document.getElementById('asc_or_desc').value=as_or_desc;		
			document.getElementById('order_by').value=name;
			document.getElementById('admin_form').submit();
		}
		function saveorder()
		{
			document.getElementById('saveorder').value="save";
			document.getElementById('admin_form').submit();
			
		}
		function listItemTask(this_id,replace_id)
		{
			document.getElementById('oreder_move').value=this_id+","+replace_id;
			document.getElementById('admin_form').submit();
		}
		function doNothing() {  
			var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
			if( keyCode == 13 ) {


				if(!e) var e = window.event;

				e.cancelBubble = true;
				e.returnValue = false;

				if (e.stopPropagation) {
						e.stopPropagation();
						e.preventDefault();
				}
			}
		}
	</script>

<div class="wrap">
	<?php 
    $path_site2 = plugins_url("images", __FILE__);
    ?>
	<div class="slider-options-head">
		<div style="float: left;">
			<div><a href="http://huge-it.com/wordpress-plugins-slider-user-manual/" target="_blank">User Manual</a></div>
			<div>This section allows you to configure the Slider options. <a href="http://huge-it.com/wordpress-plugins-slider-user-manual/" target="_blank">More...</a></div>
		</div>
		<div style="float: right;">
			<a class="header-logo-text" href="http://huge-it.com/slider/" target="_blank">
				<div><img width="250px" src="<?php 
    echo $path_site2;
    ?>
/huge-it1.png" /></div>
				<div>Get the full version</div>
			</a>
		</div>
	</div>
	<div style="clear:both;"></div>
	<div id="poststuff">
		<div id="sliders-list-page">
			<form method="post"  onkeypress="doNothing()" action="admin.php?page=sliders_huge_it_slider" id="admin_form" name="admin_form">
			<h2>Huge IT Sliders
				<a onclick="window.location.href='admin.php?page=sliders_huge_it_slider&task=add_cat'" class="add-new-h2" >Add New Slider</a>
			</h2>
			<?php 
    $serch_value = '';
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = esc_html(stripslashes($_POST['search_events_by_title']));
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions"">
				<label for="search_events_by_title" style="font-size:14px">Filter: </label>
					<input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
			</div>
			<div class="alignleft actions">
				<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
				 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
				 <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=sliders_huge_it_slider\'" class="button-secondary action">
			</div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
			<table class="wp-list-table widefat fixed pages" style="width:95%">
				<thead>
				 <tr>
					<th scope="col" id="id" style="width:30px" ><span>ID</span><span class="sorting-indicator"></span></th>
					<th scope="col" id="name" style="width:85px" ><span>Name</span><span class="sorting-indicator"></span></th>
					<th scope="col" id="prod_count"  style="width:75px;" ><span>Images</span><span class="sorting-indicator"></span></th>
					<th style="width:40px">Delete</th>
				 </tr>
				</thead>
				<tbody>
				 <?php 
    $trcount = 1;
    for ($i = 0; $i < count($rows); $i++) {
        $trcount++;
//.........这里部分代码省略.........
开发者ID:DylanGroenewoud,项目名称:PVNG,代码行数:101,代码来源:sliders.html.php

示例4: html_spider_facebook_show

function html_spider_facebook_show($rows, $pageNav, $sort)
{
    ?>
    <script language="javascript">
	function ordering(name,as_or_desc)
	{
		document.getElementById('asc_or_desc').value=as_or_desc;		
		document.getElementById('order_by').value=name;
		document.getElementById('admin_form').submit();
	}
	function doNothing() {  
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
    if( keyCode == 13 ) {
        if(!e) var e = window.event;
        e.cancelBubble = true;
        e.returnValue = false;
        if (e.stopPropagation) {
                e.stopPropagation();
                e.preventDefault();
        }
}
}
	</script>
    <form method="post" action="admin.php?page=Spider_Facebook_manage" onkeypress="doNothing()" id="admin_form" name="admin_form" >
	<table cellspacing="10" width="100%">
    <tr><td><a href="http://web-dorado.com/wordpress-facebook-guide-step-1.html" target="_blank" style="color:blue; text-decoration:none;font-size:16px; font-weight:bold">User Manual</a></td></tr>
    <tr>
    <td style="width:210px">
    <?php 
    echo "<h2 style=\"float:left\">" . 'Spider Facebook' . "</h2>";
    ?>
    <input type="button" style="float:left; position:relative; top:10px; margin-left:20px" class="button-secondary action" value="Add a Facebook" name="custom_parametrs" onclick="window.location.href='admin.php?page=Spider_Facebook_manage&task=add'" />
    </td>
     <td colspan="11"><div style="text-align:right;font-size:16px;padding:20px; padding-right:50px; width:100%">
		<a href=" http://web-dorado.com/products/wordpress-facebook.html " target="_blank" style="color:red; text-decoration:none;">
		<img src="<?php 
    echo plugins_url('images/header.png', __FILE__);
    ?>
" border="0" alt="www.web-dorado.com" width="215"><br>
		Get the full version&nbsp;&nbsp;&nbsp;&nbsp;
		</a>
	</td>
    </tr>
    </table>
    <?php 
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = esc_attr($_POST['search_events_by_title']);
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions" style="width:180px;">
    	<label for="search_events_by_title" style="font-size:14px">Title: </label>
        <input type="text" name="search_events_by_title" value="' . (isset($serch_value) ? esc_attr($serch_value) : '') . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
	<div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
		 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
		 <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=Spider_Facebook_manage\'" class="button-secondary action">
    </div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
  <table class="wp-list-table widefat fixed pages" style="width:95%">
 <thead>
 <tr>
 <th scope="col" id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style="width:110px" ><a href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
 <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style="" ><a href="javascript:ordering('title',<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>Title</span><span class="sorting-indicator"></span></a></th>
 <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "type") {
        echo $sort["custom_style"];
    } else {
//.........这里部分代码省略.........
开发者ID:brittbec13,项目名称:citizenmodern,代码行数:101,代码来源:facbook_manager.html.php

示例5: html_show_tag


//.........这里部分代码省略.........
    <input type="button" value="Add a Tag" style="float:left; position:relative; top:10px; margin-left:20px" class="button-secondary action" name="custom_parametrs" onclick="window.location.href='admin.php?page=Tags_Spider_Video_Player&task=add_tag'" />
    </td>       
	</td>
     <td colspan="7" align="right" style="font-size:16px;">
  		<a href="https://web-dorado.com/files/fromSVP.php" target="_blank" style="color:red; text-decoration:none;">
		<img src="<?php 
    echo plugins_url("images/header.png", __FILE__);
    ?>
" border="0" alt="https://web-dorado.com/files/fromSVP.php" width="215">
		</a>
        </td>

        
    </tr>
    </table>
    	<label for="search_events_by_title" style="font-size:14px">Title: </label>
    <?php 
    $serch_value = '';
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = esc_js(esc_html(stripslashes($_POST['search_events_by_title'])));
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions" style="width:180px;">
        <input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
	<div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
		 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
		 <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=Tags_Spider_Video_Player\'" class="button-secondary action">
    </div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
  <table class="wp-list-table widefat fixed pages" style="width:95%">
 <thead>
 <TR>
 <th scope="col" id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style=" width:120px" ><a href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
 <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "name") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style="" ><a href="javascript:ordering('name',<?php 
    if ($sort["sortid_by"] == "name") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
开发者ID:MichaelEniolade,项目名称:MechrisPlanetWebsite,代码行数:67,代码来源:tag_function.html.php

示例6: html_showcatalogs


//.........这里部分代码省略.........
                <div style="clear: both;"></div>
		<div  class="description_text"><p>This is the free version of the plugin. Click "GET THE FULL VERSION" for more advanced options.   We appreciate every customer.</p></div>
	</div>
        <div style="clear:both;"></div>
	<div id="poststuff">
		<div id="catalogs-list-page">
			<form method="post"  onkeypress="doNothing()" action="admin.php?page=catalogs_huge_it_catalog" id="admin_form" name="admin_form">
			<h2><?php 
    echo __("Huge-IT Catalogs", "product-catalog");
    ?>
				<a onclick="window.location.href='admin.php?page=catalogs_huge_it_catalog&task=add_cat'" class="add-new-h2" ><?php 
    echo __("Add New Catalog", "product-catalog");
    ?>
</a>
			</h2>
			<?php 
    $serch_value = '';
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = esc_html(stripslashes($_POST['search_events_by_title']));
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions"">
				<label for="search_events_by_title" style="font-size:14px">' . __("Filter", "product-catalog") . ': </label>
					<input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
			</div>
			<div class="alignleft actions">
				<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
				 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
				 <input type="button" value="' . __("Reset", "product-catalog") . '" onclick="window.location.href=\'admin.php?page=catalogs_huge_it_catalog\'" class="button-secondary action">
			</div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
			<table class="wp-list-table widefat fixed pages" style="width:95%">
				<thead>
				 <tr>
					<th scope="col" id="id" style="width:30px" ><span>ID</span><span class="sorting-indicator"></span></th>
					<th scope="col" id="name" style="width:85px" ><span><?php 
    echo __("Name", "product-catalog");
    ?>
</span><span class="sorting-indicator"></span></th>
					<th scope="col" id="prod_count"  style="width:75px;" ><span><?php 
    echo __("Images", "product-catalog");
    ?>
</span><span class="sorting-indicator"></span></th>
					<th style="width:40px"><?php 
    echo __("Delete", "product-catalog");
    ?>
</th>
				 </tr>
				</thead>
				<tbody>
				 <?php 
    $trcount = 1;
    for ($i = 0; $i < count($rows); $i++) {
        $trcount++;
        $ka0 = 0;
        $ka1 = 0;
        if (isset($rows[$i - 1]->id)) {
            if ($rows[$i]->sl_width == $rows[$i - 1]->sl_width) {
                $x1 = $rows[$i]->id;
                $x2 = $rows[$i - 1]->id;
                $ka0 = 1;
            } else {
开发者ID:svirom,项目名称:myrealtysite,代码行数:67,代码来源:catalogs_view.php

示例7: html_select_video_admin


//.........这里部分代码省略.........
    if ($tags) {
        foreach ($tags as $tag) {
            ?>
       <tr>
		 <td align="left">
		<?php 
            echo $tag->name;
            ?>
:
         </td>
		 <td align="left">
             <input type="text" name="param_<?php 
            echo $tag->id;
            ?>
" id="param_<?php 
            echo $tag->id;
            ?>
" value="<?php 
            if (isset($_POST["param_" . $tag->id])) {
                echo esc_js(esc_html(stripslashes($_POST["param_" . $tag->id])));
            }
            ?>
" class="text_area" />
         </td>
        </tr> 
		<?php 
        }
    }
    ?>
      
		</table>    
    
     <?php 
    print_html_nav($pageNav['total'], $pageNav['limit']);
    ?>
    <table class="wp-list-table widefat fixed pages" style="width:95% !important"  align="center">
    <thead>
    	<tr>
            <th width="50px"><?php 
    echo '#';
    ?>
</th>
            <th scope="col" name="toggle" id="cb" class="manage-column column-cb check-column" style=""><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
    echo count($rows);
    ?>
, 'v')"></th>
<th scope="col"  id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style=" width:50px" ><a href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
 <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
开发者ID:MichaelEniolade,项目名称:MechrisPlanetWebsite,代码行数:67,代码来源:functions_for_xml_and_ajax.php

示例8: html_show_video


//.........这里部分代码省略.........
            }
        }
        ?>
 ><?php 
        echo $playlist->title;
        ?>
</option>
                       <?php 
    }
    ?>
 
                     
            </select>
    </div>
</div>
    	<label for="search_events_by_title" style="font-size:14px">Title: </label>
    <?php 
    $serch_value = '';
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = esc_js(esc_html(stripslashes($_POST['search_events_by_title'])));
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions" style="width:180px;">
        <input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
	<div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
		 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
		 <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=Spider_Video_Player_Videos\'" class="button-secondary action">
    </div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
  <table class="wp-list-table widefat fixed pages" style="width:95%">
 <thead>
 <TR style="background:#E8E8E8">
 <th scope="col"  id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style=" width:50px" ><a href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
 <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style="width:150px" ><a href="javascript:ordering('title',<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
开发者ID:MichaelEniolade,项目名称:MechrisPlanetWebsite,代码行数:67,代码来源:video_function.html.php

示例9: html_spider_cat_prod_rating

function html_spider_cat_prod_rating($rows, $pageNav, $sort, $id)
{
    global $wpdb;
    $title = $wpdb->get_var($wpdb->prepare("SELECT `name` FROM " . $wpdb->prefix . "spidercatalog_products WHERE id=%d", $id));
    ?>
    <script language="javascript">
        function ordering(name, as_or_desc) {
            document.getElementById('asc_or_desc').value = as_or_desc;
            document.getElementById('order_by').value = name;
            document.getElementById('admin_form').action = document.getElementById('admin_form').action + '&task=edit_rating';
            document.getElementById('admin_form').submit();
        }
        function doNothing() {
            var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
            if (keyCode == 13) {


                if (!e) var e = window.event;

                e.cancelBubble = true;
                e.returnValue = false;

                if (e.stopPropagation) {
                    e.stopPropagation();
                    e.preventDefault();
                }
            }
        }
        function delete_rating() {

            document.getElementById('admin_form').action = document.getElementById('admin_form').action + '&task=delete_ratings'
            document.getElementById('admin_form').submit();

        }
        function submit_button(presbutton) {
            document.getElementById('admin_form').action = document.getElementById('admin_form').action + '&task=' + presbutton;
            document.getElementById('admin_form').submit();


        }
    </script>
    <form method="post" action="admin.php?page=Products_Spider_Catalog&id=<?php 
    echo $id;
    ?>
" onkeypress="doNothing()"
          id="admin_form" name="admin_form">
        <?php 
    $sp_cat_nonce = wp_create_nonce('nonce_sp_cat');
    ?>
		<table cellspacing="10" width="100%">
            <tr></tr>
            <tr>
                <td style="width:100%">
                    <?php 
    echo "<h2>" . 'Review - ' . $title . "</h2>";
    ?>
                </td>
                <td style="width:90px; text-align:right;"><p class="submit" style="padding:0px; text-align:left"><input
                            type="button" value="Save" name="custom_parametrs"
                            onclick="submit_button('s_p_save_rating')"/></p></td>
                <td style="width:90px; text-align:right;"><p class="submit" style="padding:0px; text-align:left"><input
                            type="button" value="Apply" name="custom_parametrs"
                            onclick="submit_button('s_p_apply_rating')"/></p></td>
                <td style="width:90px; text-align:right;"><p class="submit" style="padding:0px; text-align:left"><input
                            type="button" value="Cancel" name="custom_parametrs"
                            onclick="window.location.href='admin.php?page=Products_Spider_Catalog&task=edit_prad&id=<?php 
    echo $id;
    ?>
'"/>
                    </p></td>
                <td style="text-align:right;font-size:16px;padding:20px; padding-right:50px">

                </td>
            </tr>
        </table>
        <?php 
    print_html_nav($pageNav['total'], $pageNav['limit']);
    ?>
        <table class="wp-list-table widefat" style="width:95%">
            <thead>
            <tr>
                <th scope="col" id="cb" class="manage-column column-cb check-column"><input type="checkbox"></th>
                <th scope="col" id="remote_ip"
                    class="<?php 
    if ($sort["sortid_by"] == "remote_ip") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
"
                    style="width:110px"><a
                        href="javascript:ordering('remote_ip',<?php 
    if ($sort["sortid_by"] == "remote_ip") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>Remote Ip</span><span
//.........这里部分代码省略.........
开发者ID:Kennytroll,项目名称:partsbeta,代码行数:101,代码来源:Products.html.php

示例10: html_show_submits


//.........这里部分代码省略.........

          <td colspan=5>
            <br/>
            <input type="hidden" name="hide_label_list" value="<?php 
        echo $lists['hide_label_list'];
        ?>
"/>
            <img src="<?php 
        echo plugins_url("images/filter_show.png", __FILE__);
        ?>
" width="40"
                 style="vertical-align:bottom; cursor:pointer" onclick="show_hide_filter()" title="Search by fields"
                 id="filter_img"/>
            <input type="button" onclick="this.form.submit();" value="Go"/>
            <input type="button" onclick="remove_all();this.form.submit();" value="Reset"/>
          </td>
          <td align="right">
            <br/><br/>
            <?php 
        if (isset($labels)) {
            echo '<input type="button" onclick="toggleChBDiv(true)" value="Add/Remove Columns" />';
        }
        ?>
          </td>
        </tr>

  <?php 
    } else {
        echo '<td><br /><br /><br /></td></tr>';
    }
    ?>
</table>
  <?php 
    print_html_nav($pageNav['total'], $pageNav['limit']);
    ?>
  <div style="border-radius: 3px 3px 3px 3px;border: 1px solid #F0F0F0; overflow-x:auto; width:95%; ">
<table class="wp-list-table widefat fixed posts" style="width:95%; table-layout: inherit !important;">
<thead>
<tr>
  <th width="3%"><?php 
    echo '#';
    ?>
</th>
  <th scope="col" id="cb" class="manage-column column-cb check-column" style=""><input type="checkbox"></th>
  <th width="4%" scope="col" id="submitid_fc" class="submitid_fc <?php 
    if ($sort["sortid_by"] == "group_id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" <?php 
    if (!(strpos($lists['hide_label_list'], '@submitid@') === FALSE)) {
        echo 'style="display:none;"';
    }
    ?>
><a href="javascript:ordering('group_id',<?php 
    if ($sort["sortid_by"] == "group_id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th><?php 
    ?>
  <th width="210px" scope="col" id="submitdate_fc" class="submitdate_fc <?php 
开发者ID:roycocup,项目名称:enclothed,代码行数:67,代码来源:Submissions.html.php

示例11: html_show_theme

function html_show_theme($rows, $pageNav, $sort)
{
    global $wpdb;
    ?>
    <script language="javascript">
	function ordering(name,as_or_desc)
	{
		document.getElementById('asc_or_desc').value=as_or_desc;		
		document.getElementById('order_by').value=name;
		document.getElementById('admin_form').submit();
	}
function doNothing() {  
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
    if( keyCode == 13 ) {


        if(!e) var e = window.event;

        e.cancelBubble = true;
        e.returnValue = false;

        if (e.stopPropagation) {
                e.stopPropagation();
                e.preventDefault();
        }
}
}
	</script>
    <script language="JavaScript">

</script>
    <form method="post" onkeypress="doNothing()"  action="admin.php?page=contact_form_Themes" id="admin_form" name="admin_form">
	<table cellspacing="10" width="95%">


 
    <tr>
    <td style="width:80px">
    <?php 
    echo "<h2>" . 'Themes' . "</h2>";
    ?>
    </td>
    
    <td  style="width:90px; text-align:right;"><p class="submit" style="padding:0px; text-align:left"><input type="button" value="Add a Theme" name="custom_parametrs" onclick="window.location.href='admin.php?page=contact_form_Themes&task=add_theme'" /></p></td>
<td style="text-align:right;font-size:16px;padding:20px; padding-right:50px">

	</td>
     <td colspan="11"><div style="text-align:right;font-size:16px;padding:20px; padding-right:50px; width:100%">
		<a href="http://web-dorado.com/files/fromContactForm.php" target="_blank" style="color:red; text-decoration:none;">
		<img src="<?php 
    echo plugins_url('images/header.png', __FILE__);
    ?>
" border="0" alt="www.web-dorado.com" width="215"><br>
		Get the full version&nbsp;&nbsp;&nbsp;&nbsp;
		</a>
	</td>
    </tr>
    </table>
    <?php 
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = $_POST['search_events_by_title'];
        } else {
            $serch_value = "";
        }
    } else {
        $serch_value = "";
    }
    $serch_fields = '<div class="alignleft actions" style="width:180px;">
    	<label for="search_events_by_title" style="font-size:14px">Title: </label>
        <input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
	<div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
		 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
		 <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=contact_form_Themes\'" class="button-secondary action">
    </div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
  <table class="wp-list-table widefat fixed pages" style="width:95%">
 <thead>
 <TR>
 <th scope="col" id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style=" width:120px" ><a href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
 <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["custom_style"];
//.........这里部分代码省略.........
开发者ID:paarthd,项目名称:gslvpa,代码行数:101,代码来源:Themes_function.html.php

示例12: html_select_pages_for_facebook


//.........这里部分代码省略.........
		<tbody><tr>
		   <td align="right"
									   
			</td></td>
			<td align="right" width="100%">
                <button onclick="item();" style="width:98px; height:34px; background:url(<?php 
    echo plugins_url('', __FILE__);
    ?>
/images/add_but.png) no-repeat;border:none;cursor:pointer;">&nbsp;</button>           
           </td>
		   </tr>
		
		
		</tbody>
        </table>
    <?php 
    $serch_value = '';
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = $_POST['search_events_by_title'];
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions" style="width:180px;">
    	<label for="search_events_by_title" style="font-size:14px">Title: </label>
        <input type="text" name="search_events_by_title" value="' . sanitize_text_field($serch_value) . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
	<div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
		 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
		 <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=Form_maker_Themes\'" class="button-secondary action">
    </div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
  <table class="wp-list-table widefat fixed pages" style="width:95%">
 <thead>
 <TR>
 <th width="30" style="text-align: center;"><?php 
    echo '#';
    ?>
</th>
            <th width="20" class="manage-column column-cb check-column">
            <input  type="checkbox" name="toggle" id="toggle" value="" onclick="checkAll(<?php 
    echo count($rows);
    ?>
, 'p')">
            </th>
 <th scope="col" id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style=" width:120px;text-align: center; " ><a href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
 <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["custom_style"];
开发者ID:brittbec13,项目名称:citizenmodern,代码行数:67,代码来源:facebook_ajax_function.php

示例13: html_showcategories


//.........这里部分代码省略.........
    $serch_value = '';
    if (isset($_POST['serch_or_not'])) {
        if ($_POST['serch_or_not'] == "search") {
            $serch_value = esc_html(stripslashes($_POST['search_events_by_title']));
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '<div class="alignleft actions" style="width:185px;">
    	<label for="search_events_by_title" style="font-size:14px">Filter: </label>
        <input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
	<div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';
		 document.getElementById(\'admin_form\').submit();" class="button-secondary action">
		 <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=Categories_Spider_Catalog\'" class="button-secondary action">
    </div>';
    $serch_fields .= '<select style=" text-align:left;float:right;" name="cat_search" id="cat_search" class="inputbox" onchange="this.form.submit();">
	<option value="0"';
    if (!isset($_POST['cat_search'])) {
        $serch_fields .= 'selected="selected"';
    }
    $serch_fields .= '>- Select Parent -</option>';
    foreach ($cat_row as $cat_id) {
        $serch_fields .= '<option value="' . $cat_id->id . '"';
        if (isset($_POST['cat_search']) || isset($_GET["catid"]) && $_GET["catid"]) {
            if (isset($_POST['cat_search']) && $_POST['cat_search'] == $cat_id->id || isset($_GET["catid"]) && $_GET["catid"] == $cat_id->id) {
                $serch_fields .= 'selected="selected"';
            }
        }
        $serch_fields .= '>' . esc_html(stripslashes($cat_id->name)) . '</option>';
    }
    $serch_fields .= '</select>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
  <table class="wp-list-table widefat fixed pages" style="width:95%">
 <thead>
 <TR>
   <th scope="col" id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style="width:30px" ><a href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
   <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;" /></th>
 <th scope="col" id="name" class="<?php 
    if ($sort["sortid_by"] == "name") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style="width:85px" ><a href="javascript:ordering('name',<?php 
    if ($sort["sortid_by"] == "name") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
开发者ID:jazzindizzin,项目名称:Quality-Timber-Doors,代码行数:67,代码来源:Categories.html.php

示例14: html_display_form_lists


//.........这里部分代码省略.........
        <td>
          <div style="text-align:right;font-size:16px;padding:20px; padding-right:50px; width:90%">
            <a href="http://web-dorado.com/files/fromFormMaker.php" target="_blank"
               style="color:red; text-decoration:none;">
              <img src="<?php 
    echo plugins_url('images/header.png', __FILE__);
    ?>
" border="0" alt="www.web-dorado.com"
                   width="215"><br>
              Get the full version&nbsp;&nbsp;&nbsp;&nbsp;
            </a>
          </div>
        </td>
      </tr>
    </table>
    <?php 
    $serch_value = '';
    if (isset($_POST['serch_or_not'])) {
        if (esc_html($_POST['serch_or_not']) == "search") {
            $serch_value = esc_html($_POST['search_events_by_title']);
        } else {
            $serch_value = "";
        }
    }
    $serch_fields = '
    <div class="alignleft actions" style="width:250px;">
    	<label for="search_events_by_title" style="font-size:14px">Title: </label>
      <input type="text" name="search_events_by_title" value="' . $serch_value . '" id="search_events_by_title" onchange="clear_serch_texts()">
    </div>
    <div class="alignleft actions">
   		<input type="button" value="Search" onclick="document.getElementById(\'page_number\').value=\'1\'; document.getElementById(\'serch_or_not\').value=\'search\';document.getElementById(\'admin_form\').submit();" class="button-secondary action">
      <input type="button" value="Reset" onclick="window.location.href=\'admin.php?page=Form_maker\'" class="button-secondary action">
    </div>';
    print_html_nav($pageNav['total'], $pageNav['limit'], $serch_fields);
    ?>
    <table class="wp-list-table widefat fixed pages" style="width:95%">
      <thead>
        <TR>
          <th scope="col" id="id" class="<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style="width:110px"><a
        href="javascript:ordering('id',<?php 
    if ($sort["sortid_by"] == "id") {
        echo $sort["1_or_2"];
    } else {
        echo "1";
    }
    ?>
)"><span>ID</span><span class="sorting-indicator"></span></a></th>
      <th scope="col" id="title" class="<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["custom_style"];
    } else {
        echo $sort["default_style"];
    }
    ?>
" style=""><a
        href="javascript:ordering('title',<?php 
    if ($sort["sortid_by"] == "title") {
        echo $sort["1_or_2"];
    } else {
开发者ID:roycocup,项目名称:enclothed,代码行数:67,代码来源:form_maker_functions.html.php


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