dc_jt Posted May 29, 2007 Share Posted May 29, 2007 <?php $oObj = $oTblNews->GetObject(); ?> <h1>News</h1> <script language="javascript" type="text/javascript" src="/cms/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript" src="/cms/tiny_mce/init.js"></script> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> </table> <table border="0" align="center" cellpadding="0" cellspacing="0" class="mainpageheader"> <tr> <td> Please add/edit the news content below. </td> </tr> </table> <?php if ($_GET['msg'] == 1) { ?> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tabpageerror"> <tr> <td> <font color="blue">You have successfully updated the news content.</font> </td> </tr> </table> <?php } //end if (isset($sErrorMsg)) ?> <table border="0" align="center" cellpadding="0" cellspacing="0" class="tabpagemain"> <tr> <td valign="top"> <table> <form name="add_edit" method="post" action="<?=$_SERVER['PHP_SELF']?>?sMode=EditSave&iNewsId=<?=$oObj->news_id?>" enctype="multipart/form-data" > <input name="sMode" type="hidden" value="save"> <tr> <textarea id="content" name="news_content" style="width:100%; height:250;" rows="20"><?=(isset($_POST['news_content']))?stripslashes(htmlentities($_POST['news_content'])):htmlentities($oObj->news_content)?></textarea> </span> <br /> </td> </tr> <td></td> </table> <td> <tr> <table border="0" align="center" cellpadding="0" cellspacing="0" class="tabpagefooter"> <tr> <td> <input class="fmgrey" type="submit" value="Save" /> </td> </tr> </form> </table> </td> </tr> </table> <div class="pagefooter"> <div class="clear"> </div> </div> Quote Link to comment Share on other sites More sharing options...
MadTechie Posted May 29, 2007 Share Posted May 29, 2007 html issule NOT a php one could be JS i know IE playsaround when padding is used Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.