Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

htmlarea 3


a.niedermann

Recommended Posts

Posted

Hi together!

 

I've got a problem. I've installed the textmaker contirbution! there is an old htmlarea integrated which isn't that good. I would like to upgrade to htmlarea3

 

No I tried to modifiy my admin/shipping,privacy etc... but I couldn't figure out were and what exactely I have to change. I uploaded the whole htmlarea files like

: admin\htmlarea_3

 

please can someone take a look on that little bit of code?

 

<?php

  /*

  $Id: conditions.php,v 1.3 2001/12/20 14:14:14 dgw_ Exp $

 

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright ? 2003 osCommerce

 

  Released under the GNU General Public License

*/

?>

<?php require('includes/application_top.php');?>

 

 

 

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--

Copyright 2003

 

f?r die Deutsche Version:

Michael Klaucke

 

[email protected]

 

Dieser zusatz darf nicht gel?scht werden.

 

//-->

<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="javascript" src="includes/menu.js"></script>

<script language="Javascript1.2"><!-- // load htmlarea

_editor_url = "<?php echo HTTP_SERVER . DIR_WS_ADMIN . 'htmlarea_old/' ?>";                    // 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 "Site Updates";

?> <?php

 

 

  if ($REQUEST_METHOD=="POST")

  {

    mysql_query('REPLACE INTO info_shipping (Id, Text) VALUES (1, "'.mysql_escape_string($aboutus).'")')

          or die(mysql_error());

  }

 

  $sql=mysql_query('SELECT * FROM info_shipping')

    or die(mysql_error());

  $row=mysql_fetch_array($sql);

 

?>

 

thanks!!

 

andreas

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...