[ ntegian @ 18.12.2011. 13:32 ] @
Na web stranici sam postavio narudzbenicu u php-u koja je izgledala korektno u dreamweaveru potom sam joj dodao skriptu sa komandom include , problem je u tome sto kada podignem stranicu na server sve izgleda u redu dok se u dreamweaveru prikazuje samo deo sa komandom include, ako moze neko da pomogne kako da resim ovaj problem, hvala unapred



<?php

# This block must be placed at the very top of page.
# --------------------------------------------------
require_once( dirname(__FILE__).'/form.lib.php' );
phpfmg_display_form();
# --------------------------------------------------



function phpfmg_form( $sErr = false ){
$style=" class='form_text' ";

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:///xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Srpske slave</title>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script><link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript">
<
link rel="shortcut icon" href="/favicon.ico" />
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

//-->
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
<link href="stilovi.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {color: #03d2fe}
-->
</style>
</head>

<body background="po3.png" onload="MM_preloadImages('2.png','btn_pocetna1.png','btn_e1.png','btn_1e.png','btn_k1.png','btn_r1.png','btn_o1.png','btn_e1.png')">
<table width="1260" align="center" class="bgnd2">
<tr>
<th width="1264" height="400" scope="col">&nbsp;</th>
</tr>
<tr>
<th scope="col"><table width="1022" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="146" height="55" align="left" valign="top" scope="col"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','btn_pocetna1.png',1)"><img src="btn_0.png" name="Image1" width="145" height="55" border="0" id="Image1" /></a></th>
<th width="146" align="left" valign="top" scope="col"><a href="s s.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','btn_1.png',1)"><img src="btn_0.png" name="Image2" width="145" height="55" border="0" id="Image2" /></a></th>
<th width="146" height="55" align="left" valign="top" scope="col"><a href="e.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','btn_1e.png',1)"><img src="btn_0e.png" name="Image3" width="145" height="55" border="0" id="Image3" /></a></th>
<th width="146" height="55" align="left" valign="top" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image73','','btn_o1.png',1)"><img src="btn_0.png" name="Image73" width="145" height="55" border="0" id="Image73" /></a></th>
<th width="146" height="55" align="left" valign="top" scope="col"><a href="i.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image70','','btn_pok1.png',1)"><img src="btn_pok0.png" name="Image70" width="145" height="55" border="0" id="Image70" /></a></th>
<th width="146" height="55" align="left" valign="top" scope="col"><a href="na.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image71','','btn_nar1.png',1)"><img src="btn_nar0.png" name="Image71" width="145" height="55" border="0" id="Image71" /></a></th>
<th width="146" height="55" align="left" valign="top" scope="col"><a href="kontakt.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image72','','btn_ko1.png',1)"><img src="btn_ko0.png" name="Image72" width="145" height="55" border="0" id="Image72" /></a></th>
</tr>
</table></th>
</tr>
<tr>
<th scope="col">&nbsp;</th>
</tr>

<tr>
<th valign="top" scope="col"><table width="1022" align="center">
<tr>
<th width="998" height="21" colspan="7" valign="top" scope="col">
<?php include ('cenovnik.php');?>
?&gt;</th>
</tr>



</table></th>
</tr>

<tr>
<th height="916" valign="top" scope="col"><br />
<br />
<table width="800" align="center">
<tr>
<th class="tekst" scope="col"><strong class="snaslov"><font color="#000000">Narudžbenica<br />
<br />
</font></strong></th>
</tr>
<tr>
<th scope="col"><form name="frmFormMail" action='' method='post' enctype='multipart/form-data' onsubmit='return fmgHandler.onsubmit(this);'>
<input type='hidden' name='formmail_submit' value='Y'>
<div id='err_required' class="form_error" style='display:none;'>
<label class='form_error_title'>Please check the required fields</label>
</div>



<ol class='phpfmg_form' >

<li class='field_block' id='field_0_div'><div class='col_label'>
<label class='tekstnar'>Ime i prezime:</label>
<label class='form_required' >&nbsp;</label> </div>
<div class='col_field'>
<input type="text" name="field_0" id="field_0" value="<?php phpfmg_hsc("field_0", ""); ?>" class='text_box'>
<div id='field_0_tip' class='instruction'></div>
</div>
</li>

<li class='field_block' id='field_1_div'><div class='col_label'>
<label class='tekstnar'>Dan, mesec i godina rođenja:</label>
<label class='form_required' >&nbsp;</label>
</div>
<div class='col_field'>
<input type="text" name="field_1" id="field_1" value="<?php phpfmg_hsc("field_1", ""); ?>" class='text_box'>
<div id='field_1_tip' class='instruction'></div>
</div>
</li>

<li class='field_block' id='field_2_div'><hr class='sectionbreak'>
<span class="tekstnar">VAŠA ADRESA</span></li>
<li class='field_block' id='field_3_div'><div class='col_label'>
<label class='tekstnar'>Ulica i broj:</label>
<label class='form_required' >&nbsp;</label> </div>
<div class='col_field'>
<input type="text" name="field_3" id="field_3" value="<?php phpfmg_hsc("field_3", ""); ?>" class='text_box'>
<div id='field_3_tip' class='instruction'></div>
</div>
</li>

<li class='field_block' id='field_4_div'><div class='col_label'>
<label class='tekstnar'>Mesto:</label>
<label class='form_required' >&nbsp;</label> </div>
<div class='col_field'>
<input type="text" name="field_4" id="field_4" value="<?php phpfmg_hsc("field_4", ""); ?>" class='text_box'>
<div id='field_4_tip' class='instruction'></div>
</div>
</li>

<li class='field_block' id='field_5_div'><div class='col_label'>
<label class='tekstnar'>Poštanski broj:</label>
<label class='form_required' >&nbsp;</label> </div>
<div class='col_field'>
<input type="text" name="field_5" id="field_5" value="<?php phpfmg_hsc("field_5", ""); ?>" class='text_box'>
<div id='field_5_tip' class='instruction'></div>
</div>
</li>

<li class='field_block' id='field_6_div'><div class='col_label'>
<label class='tekstnar'>Telefon:</label>
<label class='form_required' >&nbsp;</label> </div>
<div class='col_field'>
<input type="text" name="field_6" id="field_6" value="<?php phpfmg_hsc("field_6", ""); ?>" class='text_box'>
<div id='field_6_tip' class='instruction'></div>
</div>
</li>

<li class='field_block' id='field_7_div'><div class='col_label'>
<label class='tekstnar'>E-mail:</label>
<label class='form_required' >&nbsp;</label> </div>
<div class='col_field'>
<input type="text" name="field_7" id="field_7" value="<?php phpfmg_hsc("field_7", ""); ?>" class='text_box'>
<div id='field_7_tip' class='instruction'></div>
</div>
</li>

<li class='field_block' id='field_8_div'><div class='col_label'>
<label class='tekstnar'>Napomene:</label>
<label class='form_required' >&nbsp;</label>
</div>
<div class='col_field'>
<textarea name="field_8" id="field_8" rows=4 cols=25 class='text_area'><?php phpfmg_hsc("field_8"); ?></textarea>

<div id='field_8_tip' class='instruction'></div>
</div>
</li>


<li class='field_block' id='phpfmg_captcha_div'>
<div class='col_label'>
<label class='form_field'><span class="tekstnar">Upiši Security Code</span>:</label>
<label class='form_required' >*</label> </div><div class='col_field'>
<?php phpfmg_show_captcha(); ?>
</div>
</li>


<li>
<div class='col_label'>&nbsp;</div>
<div class='form_submit_block col_field'>

<input type='submit' value='Pošalji' class='form_button'>
<span id='phpfmg_processing' style='display:none;'>
<img id='phpfmg_processing_gif' src='<?php echo PHPFMG_ADMIN_URL . '?mod=image&amp;func=processing' ;?>' border=0 alt='Processing...'> <label id='phpfmg_processing_dots'></label>
</span> </div>
</li>
</ol>




</form>




<?php

phpfmg_javascript($sErr);

}
# end of form




function phpfmg_form_css(){
?>
<style type='text/css'>

body{
margin-left: 18px;
margin-top: 18px;
}

body{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : #474747;
background-color: transparent;
}

select, option{
font-size:13px;
}

ol.phpfmg_form{
list-style-type:none;
padding:0px;
margin:0px;
}

ol.phpfmg_form li{
margin-bottom:5px;
clear:both;
display:block;
overflow:hidden;
width: 100%
}


.form_field, .form_required{
font-weight : bold;
}

.form_required{
color:red;
margin-right:8px;
}

.field_block_over{
}

.form_submit_block{
padding-top: 3px;
}

.text_box, .text_area, .text_select {
width:300px;
}

.text_area{
height:80px;
}

.form_error_title{
font-weight: bold;
color: red;
}

.form_error{
background-color: #F4F6E5;
border: 1px dashed #ff0000;
padding: 10px;
margin-bottom: 10px;
}

.form_error_highlight{
background-color: #F4F6E5;
border-bottom: 1px dashed #ff0000;
}

div.instruction_error{
color: red;
font-weight:bold;
}

hr.sectionbreak{
height:1px;
color: #ccc;
}

#one_entry_msg{
background-color: #F4F6E5;
border: 1px dashed #ff0000;
padding: 10px;
margin-bottom: 10px;
}

<?php phpfmg_text_align();?>



</style>

<?php
}
# end of css

# By:
?>&nbsp;</th>
</tr>
</table></th>
</tr>
</table>
</body>
</html>