Jump to content

[SOLVED] smarty error


alin19

Recommended Posts

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}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.