alin19 Posted September 4, 2008 Share Posted September 4, 2008 i'm trying to use smarty and a javascript menu; what i must do because it points noting: if i click on the html page it works <?php include('db.php'); include('smarty/Smarty.class.php'); $smarty=new Smarty(); $pagina = array(); $conn = new db(); $conn->open(); if (isset($_POST['submit'])) { $nume_prenume=$_POST['nume_prenume']; $id_bo=$_POST['id_bo']; $cnp=$_POST['cnp']; } $smarty->template_dir="../templates/menu"; $smarty->assign('lang', $lang); $smarty->display("index.html"); ?> {literal} <HTML> <!-- --------------------------------------------------------------------------- this script is copyright © 2001 by Michael Wallner! http://www.wallner-software.com mailto:dhtml@wallner-software.com you may use this script on web pages of your own you must not remove this copyright note! This script featured on Dynamic Drive (http://www.dynamicdrive.com) Visit http://www.dynamicdrive.com for full source to this script and more --------------------------------------------------------------------------- --> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"> <TITLE>Outlook Like Bar Example - © 2001 www.wallner-software.com</TITLE> </HEAD> <FRAMESET cols = "130,*" frameborder=yes bordercolor=silver> <FRAME SRC="outlook.html" NAME="Links" SCROLLING="No"> <FRAME SRC="../introducere_clienti.html" NAME="main" SCROLLING="AUTO"> </FRAMESET> <NOFRAMES> <BODY> </BODY> </NOFRAMES> </HTML> {/literal} Quote Link to comment Share on other sites More sharing options...
ranjuvs Posted September 4, 2008 Share Posted September 4, 2008 {literla} tags is typically used around Javascript or stylesheet blocks not around html code. 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.