• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP template_top函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: template_top

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
AUTH::require_valid_app_key('stats202', $_SESSION['user_api_key'], $_SESSION['user_stats202_app_key']);
template_top('My Offer Stats');
include_once '../top.php';
#function display_calendar($page, $show_time, $show_adv, $show_bottom, $show_limit, $show_breakdown, $show_type, $show_cpc_or_cpv = true) {
$page = '/stats202/ajax/getOfferStats.php';
$show_time = true;
$show_adv = false;
$show_bottom = true;
$show_limit = true;
$show_breakdown = false;
$show_cpc_or_cpv = false;
$show_type = false;
display_calendar($page, $show_time, $show_adv, $show_bottom, $show_limit, $show_breakdown, $show_type, $show_cpc_or_cpv);
?>
 

<script type="text/javascript">
 loadContent('/stats202/ajax/getOfferStats.php',null);
</script>



<?php 
template_bottom();
开发者ID:samuelpj,项目名称:prosper202,代码行数:28,代码来源:index.php


示例2: template_top

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
//show the template
template_top('Hourly Overview', NULL, NULL, NULL);
?>

<div id="info">
	<h2>Hourly Overview</h2>
	The breakdown overview allows you to see your stats per hour average.
</div>

<?php 
display_calendar('/tracking202/ajax/sort_hourly.php', true, true, true, false, true, true);
?>
    

<script type="text/javascript">
   loadContent('/tracking202/ajax/sort_hourly.php',null);
</script>

<?php 
template_bottom();
开发者ID:samuelpj,项目名称:prosper202,代码行数:24,代码来源:day-parting.php


示例3: template_top

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
//set the timezone for the user, for entering their dates.
AUTH::set_timezone($_SESSION['user_timezone']);
//show the template
template_top('Spy View', NULL, NULL, NULL);
?>

<div id="info">
	<h2>Spy View</h2>
	Spy is a live view of visitors interacting with your affiliate campaigns.
</div>


<?php 
display_calendar('/tracking202/ajax/click_history.php?spy=1', false, true, true, false, false, true, false);
?>
	
<script type="text/javascript">
	if($('s-status-loading')) {   $('s-status-loading').style.display='';       }  
   	runSpy();
   	new PeriodicalExecuter(runSpy, 5); 
</script>  

<?php 
template_bottom();
开发者ID:samuelpj,项目名称:prosper202,代码行数:28,代码来源:index.php


示例4: template_top

}
if (isset($_GET['delete_rotator_id'])) {
    $mysql['user_id'] = $db->real_escape_string($_SESSION['user_id']);
    $mysql['rotator_id'] = $db->real_escape_string($_GET['delete_rotator_id']);
    $delete_sql = "DELETE FROM 202_rotators WHERE id='" . $mysql['rotator_id'] . "' AND user_id='" . $mysql['user_id'] . "'";
    if (_mysqli_query($delete_sql)) {
        $rule_sql = "DELETE FROM 202_rotator_rules WHERE rotator_id='" . $mysql['rotator_id'] . "'";
        if (_mysqli_query($rule_sql)) {
            $criteria_sql = "DELETE FROM 202_rotator_rules_criteria WHERE rotator_id='" . $mysql['rotator_id'] . "'";
            if (_mysqli_query($criteria_sql)) {
                $delete_success = true;
            }
        }
    }
}
template_top('Smart Rotator', NULL, NULL, NULL);
?>

<div class="row" style="margin-bottom: 15px;">
	<div class="col-xs-12">
		<div class="row">
			<div class="col-xs-5">
				<h6>Smart Rotator & Split Testing Setup</h6>
			</div>
			<div class="col-xs-7">
				<div class="error pull-right" id="form_erors" style="display: none;margin-top: 20px;">
					<small><span class="fui-alert"></span> Hey! Make sure all field are filled.</small>
				</div>
				<div class="<?php 
if ($error) {
    echo "error";
开发者ID:viasmonster,项目名称:prosper202,代码行数:31,代码来源:rotator.php


示例5: clickserver_api_domain_list

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/clickserver_api_management.php';
AUTH::require_user();
//get all of the user data
$mysql['user_id'] = $db->real_escape_string($_SESSION['user_id']);
$user_sql = "\tSELECT \t`clickserver_api_key`\n\t\t\t\t FROM   \t`202_users` \n\t\t\t\t WHERE  \t`202_users`.`user_id`='" . $mysql['user_id'] . "'";
$user_result = $db->query($user_sql);
$user_row = $user_result->fetch_assoc();
if ($user_row['clickserver_api_key']) {
    $clickservers = clickserver_api_domain_list($user_row['clickserver_api_key']);
}
template_top('ClickServer Management', NULL, NULL, NULL);
?>

<div class="row account">
	<div class="col-xs-12">
		<div class="row">
			<div class="col-xs-4">
				<h6>Manage Your ClickServers</h6>
			</div>
			<div class="col-xs-8">
				<div id="response-body" style="text-align:right">
					<span id="response-text"></span>
				</div>
			</div>
		</div>
	</div>
	<div class="col-xs-4">
		<div class="panel panel-default account_left">
开发者ID:viasmonster,项目名称:prosper202,代码行数:31,代码来源:clickservers.php


示例6: template_top

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
//set the timezone for the user, for entering their dates.
AUTH::set_timezone($_SESSION['user_timezone']);
//show the template
template_top('Rotators Breakdown Overview', NULL, NULL, NULL);
?>
<div class="row" style="margin-bottom: 15px;">
	<div class="col-xs-12">
		<h6>Rotators Breakdown Overview</h6>
		<small>The breakdown overview allows you to see your rotators stats per day, per hour, or an interval that you set.</small>
	</div>
</div>                                      

<?php 
display_calendar('/tracking202/ajax/sort_rotator.php', true, false, true, false, true, true, true);
?>
 
    
<script type="text/javascript">
   loadContent('/tracking202/ajax/sort_rotator.php',null);
</script>




<?php 
template_bottom();
开发者ID:viasmonster,项目名称:prosper202,代码行数:30,代码来源:rotator-breakdown.php


示例7: showHeader

	function showHeader($total_list){
		
		$str  = '';
		//goi phan template
		$str .= template_top($this->title,$this->urlsearch());
		
	if($this->quickEdit){
		//phan quick edit
		$str .= '<form action="quickedit.php?url=' . base64_encode($_SERVER['REQUEST_URI']) . '" method="post" enctype="multipart/form-data" name="listing">
						<input type="hidden" name="iQuick" value="update">';
	}
	
		$str .= '	<table id="listing" cellpadding="5" cellspacing="0" border="1" bordercolor="' . $this->fs_border . '" width="100%" class="table">';
		
	if($this->showid){
		$str .= '		<th class="h" width="30">Stt</th>';
	}	
	
	if($this->delete){ 
		$str .= '		<th class="h check"><input type="checkbox" id="check_all" onclick="checkall(' . $total_list . ')"></th>';
	}
	
	if($this->quickEdit){
		//phan quick edit
		$str .= '		<th class="h"><img src="' . $this->image_path . 'save.png" onclick="document.listing.submit()" style="cursor: pointer;" border="0"></th>';
	}
		
foreach($this->arrayLabel as $key=>$lable){
	if($this->arrayShow[$key] == 0){
		$str .= '		<th class="h">' . $lable . $this->urlsort($this->arrayField[$key]) . ' </th>';
   }
}

		return $str;		
	} // End function showHeader
开发者ID:nhphong0104,项目名称:thietkeweb360,代码行数:35,代码来源:grid.php


示例8: update_needed

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
//check if its the latest verison
$_SESSION['update_needed'] = update_needed();
//check to see if this user has stats202 enabled
$_SESSION['stats202_enabled'] = AUTH::is_valid_app_key('stats202', $_SESSION['user_api_key'], $_SESSION['user_stats202_app_key']);
template_top();
?>

<div class="slim">
		<div class="welcome">
			<table cellspacing="0" cellpadding="0" class="section">
				<tr>
					<td class="left" ><h2>Sponsor <a href="http://prosper202.com/advertise/" style="font-size: 10px;">(advertise)</span></h2></td>
					<td><hr></td>
				</tr> 
			</table>
			<p><iframe class="advertise" src="http://prosper202.com/ads/prosper202/" scrolling="no" frameborder="0"></iframe></p> 
			
			<table cellspacing="0" cellpadding="0" class="section">
				<tr>
					<td class="left" ><h2>Prosper202 Development Blog</h2></td>
					<td><hr></td>
				</tr>
			</table><?php 
$rss = fetch_rss('http://prosper202.com/blog/rss/');
if (isset($rss->items) && 0 != count($rss->items)) {
    $rss->items = array_slice($rss->items, 0, 5);
    foreach ($rss->items as $item) {
开发者ID:samuelpj,项目名称:prosper202,代码行数:31,代码来源:index.php


示例9: template_top

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
template_top($server_row, 'Get Advanced Landing Page Code', NULL, NULL, NULL);
?>

	<div id="info">
		<h2>Setup an Advanced Landing Page - Get Code</h2>
		Select what landing page you wish to use, and then add all the different campaigns you plan on running with the landing page.<br/><br/>
</div>


	<h1></h1>

	
	<form id="tracking_form" method="post">
		<input type="hidden" id="counter" name="counter" value="0"/>
		<table class="setup">
			<tr>
				<td class="left_caption">Landing Page</td>
				<td>
					<select name="landing_page_id" id="landing_page_id" onchange="">					
						<option value="0"> -- </option> <?php 
$mysql['user_id'] = mysql_real_escape_string($_SESSION['user_id']);
$landing_page_sql = "SELECT * FROM 202_landing_pages WHERE user_id='" . $mysql['user_id'] . "' AND landing_page_type='1' AND landing_page_deleted='0'";
$landing_page_result = _mysql_query($landing_page_sql);
// or record_mysql_error($landing_page_sql);
while ($landing_page_row = mysql_fetch_array($landing_page_result, MYSQL_ASSOC)) {
    $html['landing_page_id'] = htmlentities($landing_page_row['landing_page_id'], ENT_QUOTES, 'UTF-8');
    $html['landing_page_nickname'] = htmlentities($landing_page_row['landing_page_nickname'], ENT_QUOTES, 'UTF-8');
开发者ID:samuelpj,项目名称:prosper202,代码行数:31,代码来源:get_adv_landing_code.php


示例10: menu

$class_menu			= new menu();
$listAll				= $class_menu->getAllChild("categories_multi", "cat_id", "cat_parent_id", 0, "cat_type='static' AND lang_id = " . $lang_id, "cat_id,cat_name,cat_type", "cat_order ASC,cat_name ASC", "cat_has_child", 0);
unset($class_menu);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<?php 
echo $load_header;
?>
</head>
<body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<? /*------------------------------------------------------------------------------------------------*/ ?>
<?php 
echo template_top(translate_text("Records Add"));
?>
<? /*------------------------------------------------------------------------------------------------*/ ?>
<?
$form = new form();
$form->create_form("form_name",$fs_action,"post","multipart/form-data",'onsubmit="validateForm();return false;"  id="form_name" ');
$form->create_table();
?>
<?php 
echo $form->text_note('Những ô dấu sao (<font class="form_asterisk">*</font>) là bắt buộc phải nhập.');
echo $form->errorMsg($errorMsg);
?>

<?php 
echo $form->select_db_multi("Danh mục", "sta_category_id", "sta_category_id", $listAll, "cat_id", "cat_name", $sta_category_id, "Danh mục", 1, "", 1, 0, "", "");
echo $form->text("Tiêu đề", "sta_title", "sta_title", $sta_title, "Tiêu đề", 1, 250, "", 255, "", "", "");
开发者ID:nhphong0104,项目名称:thietkeweb360,代码行数:31,代码来源:edit.php


示例11: record_mysql_error

if ($_GET['edit_aff_campaign_id']) {
    $mysql['user_id'] = $db->real_escape_string($_SESSION['user_id']);
    $mysql['aff_campaign_id'] = $db->real_escape_string($_GET['edit_aff_campaign_id']);
    $aff_campaign_sql = "SELECT \t* \n\t\t\t\t\t\t FROM   \t`202_aff_campaigns`\n\t\t\t\t\t\t WHERE  \t`aff_campaign_id`='" . $mysql['aff_campaign_id'] . "'\n\t\t\t\t\t\t AND    \t\t`user_id`='" . $mysql['user_id'] . "'";
    $aff_campaign_result = $db->query($aff_campaign_sql) or record_mysql_error($aff_campaign_sql);
    $aff_campaign_row = $aff_campaign_result->fetch_assoc();
    $selected['aff_network_id'] = $aff_campaign_row['aff_network_id'];
    $html = array_map('htmlentities', $aff_campaign_row);
    $html['aff_campaign_id'] = htmlentities($_GET['edit_aff_campaign_id'], ENT_QUOTES, 'UTF-8');
}
//this will override the edit, if posting and edit fail
if ($_SERVER['REQUEST_METHOD'] == 'POST' and $add_success != true) {
    $selected['aff_network_id'] = $_POST['aff_network_id'];
    $html = array_map('htmlentities', $_POST);
}
template_top('Affiliate Campaigns Setup', NULL, NULL, NULL);
?>

<div class="row" style="margin-bottom: 15px;">
	<div class="col-xs-12">
		<div class="row">
			<div class="col-xs-4">
				<h6>Campaign Setup</h6>
			</div>
			<div class="col-xs-8">
				<div class="<?php 
if ($error) {
    echo "error";
} else {
    echo "success";
}
开发者ID:viasmonster,项目名称:prosper202,代码行数:31,代码来源:aff_campaigns.php


示例12: template_top

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
//show the template
template_top('Breakdown Overview', NULL, NULL, NULL);
?>

<div id="info">
	<h2>Breakdown Overview</h2>
	The breakdown overview allows you to see your stats per day, per hour, or an interval that you set. 
</div>

<?php 
display_calendar('/tracking202/ajax/sort_breakdown.php', true, true, true, false, true, true);
?>
    

<script type="text/javascript">
   loadContent('/tracking202/ajax/sort_breakdown.php',null);
</script>

<?php 
template_bottom();
开发者ID:samuelpj,项目名称:prosper202,代码行数:24,代码来源:breakdown.php


示例13: template_top

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/xtracks-app/bootstrap.php';
AUTH::require_user();
//before loading the offers202 page, check to make sure this users api key is valid,
//if they do not have one, they will have to generated one
AUTH::require_valid_api_key();
template_top('RSS Feeds');
include_once '../top.php';
?>

<br/><br/>

<table style="margin: 0px auto;"> 
	<tr>
		<td>
			<h3 class="green">Offer RSS Feeds</h3>
			<p>Here are list of the rss feeds you can subscribe to. </p>
		</td>
	</tr>
	<tr>
		<td>
			<h3 class="green" style="margin: 40px 0px 10px;">All Networks RSS Feeds (most recent 500 offers) &amp; Customizable Offer RSS Feeds</h3>
			<p style="margin: 8px 0px;">Here are a few offer RSS feeds.  One showing the entire offer feed, and the other two showing customizable examples.</p>
			<table class="setup-table" cellpadding="0" cellspacing="0" style="margin: 0px;">
				<tr>
					<th>Affiliate Network</th> 
					<th>RSS Feed</th>
				</tr>
				<tr>
					<td>All Offers, All Networks</th>
开发者ID:ClickBooth,项目名称:XTracks,代码行数:31,代码来源:index.php


示例14: array

if ($_GET['addAlert']) {
    if (isset($_GET['alertValue'])) {
        $get = array('apiKey' => $_SESSION['user_api_key'], 'alertType' => $_GET['alertType'], 'alertValue' => $_GET['alertValue']);
        $url = TRACKING202_API_URL . '/alerts202/addAlert?' . http_build_query($get);
        $addAlert = getUrl($url);
        $addAlert = convertXmlIntoArray($addAlert);
        $errors = $addAlert['errors']['error'];
        if (!$errors) {
            header('location: ?addSuccess=1');
        } else {
            $html = array_map('htmlentities', $_GET);
        }
    }
}
//now grab all of my alerts
template_top('Offer Alerts');
?>

<table cellspacing="0" cellpadding="0" border="0" style="margin: 50px auto 0px;">
	<tbody>
		<tr>
			<td style="padding-right: 50px;">
				<table border="0">
					<tbody>
						<tr>
							<td>
								<h3>Welcome to Alerts202</h3>
								Alerts202 are email updates of the latest relevant offers based on your choice of query or topic.
								<br/>
								<br/>
								Some handy uses of Alerts202 include:
开发者ID:ClickBooth,项目名称:XTracks,代码行数:31,代码来源:index.php


示例15: template_top

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/202-config/connect.php';
AUTH::require_user();
template_top('Pixel And Postback URLs');
//the pixels
$unSecuredPixel = '<img height="1" width="1" border="0" style="display: none;" src="http://' . getTrackingDomain() . '/tracking202/static/gpx.php?amount=" />';
$unSecuredPixel_2 = '<img height="1" width="1" border="0" style="display: none;" src="http://' . getTrackingDomain() . '/tracking202/static/gpx.php?amount=&cid=" />';
//post back urls
$unSecuredPostBackUrl = 'http://' . getTrackingDomain() . '/tracking202/static/gpb.php?amount=&subid=';
$unSecuredPostBackUrl_2 = 'http://' . getTrackingDomain() . '/tracking202/static/gpb.php?amount=&subid=';
//universal pixel
$unSecuredUniversalPixel = '<iframe height="1" width="1" border="0" style="display: none;" frameborder="0" scrolling="no" src="http://' . getTrackingDomain() . '/tracking202/static/upx.php?amount=" seamless></iframe>';
$unSecuredUniversalPixelJS = '
<script>
 var vars202={amount:"",cid:""};(function(d, s) {
 	var js, upxf = d.getElementsByTagName(s)[0], load = function(url, id) {
 		if (d.getElementById(id)) {return;}
 		if202 = d.createElement("iframe");if202.src = url;if202.id = id;if202.height = 1;if202.width = 0;if202.frameBorder = 1;if202.scrolling = "no";if202.noResize = true;
 		upxf.parentNode.insertBefore(if202, upxf);
 	};
 	load("http://' . getTrackingDomain() . '/tracking202/static/upx.php?amount="+vars202[\'amount\']+"&cid="+vars202[\'cid\'], "upxif");
 }(document, "script"));</script>
<noscript>
 	<iframe height="1" width="1" border="0" style="display: none;" frameborder="0" scrolling="no" src="http://' . getTrackingDomain() . '/tracking202/static/upx.php?amount=&cid=" seamless></iframe>
</noscript>';
?>

<div class="row" style="margin-bottom: 15px;">
	<div class="col-xs-12">
		<h6>Get your Pixel or Post Back URL</h6>
开发者ID:viasmonster,项目名称:prosper202,代码行数:31,代码来源:get_postback.php


示例16: IN

											  FROM admin_user
											  WHERE adm_loginname NOT IN('admin') AND adm_delete = 0
											  ORDER BY adm_loginname ASC, adm_active DESC");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<?php 
echo $load_header;
?>
</head>
<body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<? /*------------------------------------------------------------------------------------------------*/ ?>
<?php 
echo template_top(translate_text("Member management listing"));
?>
		<? /*---------Body------------*/ ?>
		<table width="100%" border="1" cellpadding="3" cellspacing="0" class="table" bordercolor="<?php 
echo $fs_border;
?>
">
			<tr height="25">
			<td width="20" class="bold bg">No</td>
			<td align="center" class="bold bg" nowrap="nowrap"><?php 
echo translate_text("Họ tên");
?>
</td>
			<td align="center" class="bold bg"><?php 
echo translate_text("Email");
?>
开发者ID:nhphong0104,项目名称:thietkeweb360,代码行数:31,代码来源:listing.php


示例17: salt_user_pass

        if (!$error) {
            $user_pass = salt_user_pass($_POST['new_user_pass']);
            $mysql['user_pass'] = mysql_real_escape_string($user_pass);
            $mysql['user_id'] = mysql_real_escape_string($_SESSION['user_id']);
            $user_sql = "\tUPDATE \t`202_users`\n\t\t\t\t\t\t\tSET    \t\t`user_pass`='" . $mysql['user_pass'] . "'\n\t\t\t\t\t\t\tWHERE  \t`user_id`='" . $mysql['user_id'] . "'";
            $user_result = _mysql_query($user_sql);
            $change_user_pass = true;
        }
    }
    $html = array_merge($html, array_map('htmlentities', $_POST));
}
$html['user_id'] = htmlentities($_SESSION['user_id'], ENT_QUOTES, 'UTF-8');
$html['user_username'] = htmlentities($_SESSION['user_username'], ENT_QUOTES, 'UTF-8');
//check to see if this user has stats202 enabled
$_SESSION['stats202_enabled'] = AUTH::is_valid_app_key('stats202', $_SESSION['user_api_key'], $_SESSION['user_stats202_app_key']);
template_top('User Profile', NULL, NULL, NULL);
?>
 

<style>
.my-account-tables { margin: 0px auto; }
.my-account-tables td { width: 150px; }
</style>

<form method="post"  action="" enctype="multipart/form-data">   
    <input type="hidden" name="update_profile" value="1" />                   
    <input type="hidden" name="token" value="<?php 
echo $_SESSION['token'];
?>
" />
    <table class="my-account-tables"  cellpadding="5" cellspacing="0">
开发者ID:samuelpj,项目名称:prosper202,代码行数:31,代码来源:account.php


示例18: mysql_real_escape_string

if ($_GET['edit_ppc_account_id']) {
    $mysql['user_id'] = mysql_real_escape_string($_SESSION['user_id']);
    $mysql['ppc_account_id'] = mysql_real_escape_string($_GET['edit_ppc_account_id']);
    $ppc_account_sql = "SELECT  *\n\t\t\t\t\t\t FROM   `202_ppc_accounts`\n\t\t\t\t\t\t WHERE  `ppc_account_id`='" . $mysql['ppc_account_id'] . "'\n\t\t\t\t\t\t AND    `user_id`='" . $mysql['user_id'] . "'";
    $ppc_account_result = _mysql_query($ppc_account_sql);
    //($ppc_account_sql);
    $ppc_account_row = mysql_fetch_assoc($ppc_account_result);
    $selected['ppc_network_id'] = $ppc_account_row['ppc_network_id'];
    $html['ppc_account_name'] = htmlentities($ppc_account_row['ppc_account_name'], ENT_QUOTES, 'UTF-8');
}
if ($error) {
    //if someone happend take the post stuff and add it
    $selected['ppc_network_id'] = $_POST['ppc_network_id'];
    $html['ppc_account_name'] = htmlentities($_POST['ppc_account_name'], ENT_QUOTES, 'UTF-8');
}
template_top('Pay Per Click Accounts', NULL, NULL, NULL);
?>


<div id="info">
	<h2>PPC Account Setup</h2>
	Just add the PPC networks you use, and usernames for each PPC account you have.
</div>

<table cellspacing="0" cellpadding="0" class="setup">
	<tr valign="top">
		<td>
			<?php 
if ($error) {
    ?>
				<div class="warning"><div><h3>There were errors with your submission.</h3></div></div>
开发者ID:ClickBooth,项目名称:XTracks,代码行数:31,代码来源:ppc_accounts.php


示例19: time

        $mysql['aff_network_time'] = time();
        $aff_network_sql = "INSERT INTO `202_aff_networks`\n\t\t\t\t\t\t\tSET         `user_id`='" . $mysql['user_id'] . "',\n\t\t\t\t\t\t\t\t\t\t`aff_network_name`='" . $mysql['aff_network_name'] . "',\n\t\t\t\t\t\t\t\t\t\t`aff_network_time`='" . $mysql['aff_network_time'] . "'";
        $aff_network_result = mysql_query($aff_network_sql) or record_mysql_error($aff_network_sql);
        $add_success = true;
    }
}
if (isset($_GET['delete_aff_network_id'])) {
    $mysql['user_id'] = mysql_real_escape_string($_SESSION['user_id']);
    $mysql['aff_network_id'] = mysql_real_escape_string($_GET['delete_aff_network_id']);
    $mysql['aff_network_time'] = time();
    $delete_sql = " UPDATE  `202_aff_networks`\n\t\t\t\t\tSET     `aff_network_deleted`='1',\n\t\t\t\t\t\t\t`aff_network_time`='" . $mysql['aff_network_time'] . "'\n\t\t\t\t\tWHERE   `user_id`='" . $mysql['user_id'] . "'\n\t\t\t\t\tAND     `aff_network_id`='" . $mysql['aff_network_id'] . "'";
    if ($delete_result = mysql_query($delete_sql) or record_mysql_error($delete_result)) {
        $delete_success = true;
    }
}
template_top('Affiliate Networks Setup', NULL, NULL, NULL);
?>
 
<div id="info">
    <h2>Affiliate Network Setup</h2>
    Please add the affiliate networks you work with here.
</div>

<table cellspacing="0" cellpadding="0" class="setup">
	<tr valign="top">
		<td>
			<?php 
if ($error) {
    ?>
				<div class="warning"><div><h3>There were errors with your submission.</h3></div></div>
			<?php 
开发者ID:ClickBooth,项目名称:XTracks,代码行数:31,代码来源:aff_networks.php


示例20: set_time_limit

<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/xtracks-app/bootstrap.php';
AUTH::require_user();
//set no time limit on this
set_time_limit(0);
ini_set("memory_limit", "50M");
ini_set('max_execution_time', 60 * 10);
//10 minutes
template_top('Export202 - Conversion Results', NULL, NULL, NULL);
include_once '../form.php';
$export_session_id_public = $_GET['id'];
$mysql['export_session_id_public'] = mysql_real_escape_string($export_session_id_public);
$export_session_sql = "SELECT export_session_id FROM 202_export_sessions WHERE export_session_id_public='" . $mysql['export_session_id_public'] . "'";
$export_session_result = _mysql_query($export_session_sql);
$export_session_row = mysql_fetch_assoc($export_session_result);
if (!$export_session_row) {
    $error = 1;
}
if (!$error) {
    //open the file CSV, we will be using
    $export_session_id = $export_session_row['export_session_id'];
    $mysql['export_session_id'] = mysql_real_escape_string($export_session_id);
    ?>
	<table class="csv-table">
 	<tr>
 		<td colspan="2" class="csv-data">
 			<h2>Yahoo Search Marketing</h2>
 			
 			 <div>
	 			 <p><strong>Special Instructions:</strong>  Please follow these steps to convert this into the correct Yahoo SEM file format. </p>
开发者ID:ClickBooth,项目名称:XTracks,代码行数:31,代码来源:index.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP template_url函数代码示例发布时间:2022-05-23
下一篇:
PHP template_simple_register函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap