[go: up one dir, main page]

Menu

[r19]: / admin / return_text.php  Maximize  Restore  History

Download this file

104 lines (81 with data), 3.1 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
<?php
/*
$id author Puddled Internet - http://www.puddled.co.uk
email support@puddled.co.uk
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
?>
<?php require('includes/application_top.php');?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "<?php echo HTTP_SERVER . DIR_WS_ADMIN . 'htmlarea/' ?>"; // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top" height="27">
<table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<?php require(DIR_WS_INCLUDES . 'column_left.php');?>
</table></td>
<td class="pageHeading" valign="top"><?php
echo "Returns Text";
?> <?php
if ($REQUEST_METHOD=="POST")
{
mysql_query('REPLACE INTO return_text VALUES (1, "' . $languages_id . '", "' . $aboutus .'")')
or die(mysql_error());
}
$sql=mysql_query("SELECT * FROM return_text where return_text_id = '1' and language_id = '" . $languages_id . "'")
or die(mysql_error());
$row=mysql_fetch_array($sql);
?>
<br />
<div class="Title"></div>
<br />
<table width="98%" align="center" border="0" cellpadding="0" cellspacing="0">
<form name="aboutusform" method="Post" action="">
<tr>
<td width="400px" valign="top"><b>Returns Text</b><br />
<textarea name="aboutus" cols="75" rows="15"><?php echo $row['return_text_one'] ?></textarea></td>
<br />
<script language="JavaScript1.2" defer>
editor_generate('aboutus');
</script>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td align="right"><input type="submit" name="Save" value="Save" style="width: 70px"</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
</form>
</table>
<br />
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<p> </p>
<p> </p><p><br />
</p></body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>