|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Messaggi: n/a
|
[PHP] CREATO TEMPLATE CON MAMBO E SYNTAX ERROR
Parse error: syntax error, unexpected T_STRING in /home/httpd/vhosts/msguide.it/httpdocs/templates/msguide/index.php on line 3
Questo è l'errore che restituisce il sito che sto costruendo www.msguide.it come mai questo errore vi passo il php ![]() <?php/*** template_name - Mambo 4.5.1 template* @version 4.5.1* @copyright (C) 2004 by yourname* @license licensce info here*/defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php if ( $my->id ) initEditor(); ?> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> <?php mosShowHead(); ?><?php echo "<meta name=\"author\" content=\"www.mambosolutions.com\" />" ?> <?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?> <?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ; ?> </head> <body> <p align="center"><img src="/images_msguide/msguide_logo.gif" width="1000" height="100" /></p> <table width="100%" border="0"> <tr> <td bordercolor="0"><div align="center"> <table width="100%" border="0"> <tr> <td width="25%"><?php mosPathWay(); ?></td> <td width="50%"><form action="index.php" method="post"> <div align="center"> <input class="inputbox" type="text" name="searchword" size="15" value="<?php echo _SEARCH_BOX; ?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" /> <input type="hidden" name="option" value="search" /> </div> </form></td> <td width="25%"><?php echo mosCurrentDate(); ?></td> </tr> </table> </div></td> </tr> </table> <table width="100%" border="0"> <tr> <td><div align="center"><a href="http://www.msguide.it"><img src="/images_msguide/banner.gif" width="648" height="60" border="0" /></a></div></td> </tr> </table> <table width="100%" border="0"> <tr> <td><table width="100%" border="0"> <tr> <td width="18%" valign="top"><?php mosLoadModules ( 'left' ); ?> <?php mosLoadModules ( 'user1' ); ?> </td> <td><?php mosMainBody(); ?></td> <td width="18%" valign="top"><?php mosLoadModules ( 'right' ); ?> <?php mosLoadModules ( 'user2' ); ?> </td> </tr> </table></td> </tr> </table> <table width="100%" border="0"> <tr> <td><div align="center"><a href="http://www.msguide.it"><img src="/images_msguide/banner.gif" width="648" height="60" border="0" /></a> </div></td> </tr> </table> <table width="100%" border="0"> <tr> <td><?php include_once('includes/footer.php'); ?></td> </tr> </table> <p> </p> </body> </html> Grazie per le vostre risposte, rapide speriamo, perchè avrei molta fretta Grazie mille ![]() QUESTO è il CSS BODY { margin : 0px 0px 0px 0px; background-color : #FFFFFF; color : #000000; background-color: #F8F8FF; scrollbar-base-color: #778899;}td, tr, p, div { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; color : #333333;}ul { margin : 0px 0px 0px 0px;}hr { background : #CCCCCC; height : 1px; width : 100%;}.title {font-family: sans-serif;font-size: 24px;font-weight: bold;color : #7B8DA1;}.pathway { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000;}a.pathway:link, a.pathway:visited { color : #000000; font-weight : normal;}a.pathway:hover { color : #000000; font-weight : normal; text-decoration : underline;}/* --Default Class Settings-- */a.mainlevel:link, a.mainlevel:visited { color: #333333; background-position: left; text-align: left; font-weight: bold; }a.mainlevel:hover { color: #00000; background-position: left; text-align: left; } a.mainmenu:link, a.mainmenu:visited { color: #333333; font-family: Trebuchet MS, Verdana, Geneva, Arial, Helvetica, serif; font-weight: bold; }a.mainmenu:hover, { color: #000000; text-decoration: underline; }a.sublevel:hover { color: #000000; text-decoration: underline; }a.sublevel:link, a.sublevel:visited { color: #333333; font-family: Trebuchet MS, Verdana, Geneva, Arial, Helvetica, serif; font-weight: normal;}table.moduletable { margin: 0px 0px 0px 0px; width: 95%; border-left: solid 0px #000000; border-right: solid 0px #000000; border-top: solid 0px #000000; border-bottom: solid 0px #000000; margin-left: 5px; }table.moduletable th { font-size : 11px; font-weight : bold; color : #000000; text-align : left; width : 100%; padding: 10px 10px 10px 10px; margin: 20px 5px 20px 5px;}table.moduletable td { font-size: 10px; font-weight: normal; border: 1px solid #333; padding: 10px 10px 10px 10px; margin: 20px 5px 20px 5px; background-color: #F8F8FF;}.poll { font-family : Arial, Helvetica, sans-serif; font-size : 10px; color : #666666; line-height : 14px;}.sectiontableheader { background-color : #CCCCCC; color : #7B8DA1; font-weight : bold;}.sectiontableentry1 { background-color : #F0F0F0;}.sectiontableentry2 { background-color : #E0E0E0;}.small { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #3366C0; text-decoration : none; font-weight : medium;}.smalldark { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000000; text-decoration : none; font-weight : normal;}.contentpane { background : #FFFFFF;}.contentpaneopen { background : #FFFFFF;}.contentheading, .componentheading { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; font-weight : bold; color : #7B8DA1; text-align : left;}.createdate { font-family : Arial, Helvetica, sans-serif; font-size : 10px; color : #999999; text-align : left;}.button { font-family : Verdana, Arial, Helvetica, sans-serif; font-style : normal; font-size : 10px; font-weight : bold; background-color : #F0F0F0; color : #000000; border : 1px solid #CCCCCC;}.inputbox { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000000; background-color : #F0F0F0; border : 1px solid #CCCCCC;}a:link, a:visited { font-size : 11px; color : #000000; text-decoration : none; font-family : Verdana, Arial, Helvetica, sans-serif;}a:hover { color : #000000; text-decoration : underline;}/* For content item titles that are hyperlink instead of Read On */a.contentpagetitle:link, a.contentpagetitle:visited { font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; color: #000000; text-align:left; }a.contentpagetitle:hover { font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; text-align:left; color: #7B8DA1; text-decoration: underline; font-weight: bold; }a.category:link, a.category:visited { color : #333333; font-weight : bold;}a.category:hover { color : #7B8DA1;}/* Styles for dhtml tabbed-pages */.ontab { background-color: #ffae00; border-left: outset 2px #ff9900; border-right: outset 2px #808080; border-top: outset 2px #ff9900; border-bottom: solid 1px #d5d5d5; text-align: center; cursor: hand; font-weight: bold; color: #FFFFFF;}.offtab { background-color : #e5e5e5; border-left: outset 2px #E0E0E0; border-right: outset 2px #E0E0E0; border-top: outset 2px #E0E0E0; border-bottom: solid 1px #d5d5d5; text-align: center; cursor: hand; font-weight: normal;}.tabpadding {}.tabheading { background-color: #ffae00; text-align: left;}.pagetext { visibility: hidden; display: none; position: relative; top: 0;}/* for modifying {moscode} output. Dont set the colour! */.moscode { background-color: #f0f0f0;}/* Text passed with mosmsg url parameter */.message { font-family : Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size : 10pt; color : #ff6600; text-align: center;}/* custom stuff */.container{ border: solid; border-width: 1px; border-color: #efefef; background-color: White;}.boxes { border: solid; border-color: #efefef; border-width: 1px;} questo l'xml <?xml version="1.0" encoding="iso-8859-1"?><mosinstall type="template"> <name>ms_dwtutorial</name> <creationDate>Dec 2004</creationDate> <author>mambosolutions</author> <copyright>This template is released under GNU/GPL License.</copyright> <authorEmail>info@mambosolutions.com</authorEmail> <authorUrl>www.mambosolutions.com</authorUrl> <version>1.0</version> <description>mambosolutions dreamweaver/MSAS tutorial template</description> <files> <filename>index.php</filename> <filename>template_thumbnail.png</filename> </files> <images> <filename>images/msguide_logo.gif</filename> <filename>images/msguide_logo.gif</filename> </images> <css> <filename>css/template_css.css</filename> </css></mosinstall> Allora vi dico che nella cartella msguide ho i seguenti file: index.php cartella css/template_css.ss cartella images/msguide_logo.gif file template_details.xml file template_thumbnail.png |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Jun 2004
Città: Trieste
Messaggi: 1754
|
Interessa anche a me
![]() ![]()
__________________
Ho trattato con: finalmente; ingpeo; pimbolix; Mammabell; XiN; lacio78; lxbevi; nicofit; denfreccia; Xmas; gio.gianni; Roquentin; blade256; ziodamerica; compy; .::Gohaneri::.; andytom; ioan; boodixxx; fefed; Ryo the Sweeper; tati29268; andreagale; lampodiiluce; quien sabe; Mercatino:Monitor LCD 17" PHILIPS 170C6FS |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Jan 2006
Città: Pisa
Messaggi: 2498
|
A vedere così pare nulla. Forse devi staccare il primo commento dal tag PHP.
Nel caso puoi allegare la pagina invece di scrivere il code, almeno le spaziature rimangono... Ciao, Alex
__________________
![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 10:08.