Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Primeiramente peço desculpas por estar postando html no forum de php, mas nao encontrei somente para HTML.
Estou com uma dúvida extremamente simples porem está me rendendo bastante tempo de trabalho. Eu mexo com orientação a objeto e a pouco tenho mexido com php e HTML. Em fim, minha dúvida é a seguinte.
No ie o site está abrindo assim:
/applications/core/interface/imageproxy/imageproxy.php?img=http://www.lojacftv.com/ie.gif&key=e2b8e54622cc32b3c4efcaad9aa185a697013267a041da63a1176555d1045b07" alt="Imagem Postada" />
e no proprio dreamweaver também está assim, e eu nao consegui colocar certinho, sempre quebra alguma coisa... Alguem consegue me dar um help? VOu colocar o código da pagina abaixo.
AGradeço desde já e abraço à todos
<?php
/*
$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce - Modified by Valmy Gomes - valmygomes@legalzona.com.br valmygomes@hotmail.com in 19/04/2007
Released under the GNU General Public License
*/
// check if the 'install' directory exists, and warn of its existence
if (WARN_INSTALL_EXISTENCE == 'true') {
if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {
$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');
}
}
// check if the configure.php file is writeable
if (WARN_CONFIG_WRITEABLE == 'true') {
if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');
}
}
// check if the session folder is writeable
if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
if (STORE_SESSIONS == '') {
if (!is_dir(tep_session_save_path())) {
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');
} elseif (!is_writeable(tep_session_save_path())) {
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');
}
}
}
// check session.auto_start is disabled
if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {
if (ini_get('session.auto_start') == '1') {
$messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');
}
}
if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {
if (!is_dir(DIR_FS_DOWNLOAD)) {
$messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');
}
}
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
?>
<table width="100%" bgcolor="#d3e4ea"><tr><td width="100%" height="24" align="center" background = "[http://www.lojacftv.com/loja/images/top_meio1.gif">http://www.lojacftv.com/loja/images/top1.gif"><img'>[http://www.lojacftv.com/loja/images/top1.gif">](http://www.lojacftv.com/loja/images/top1.gif)<img src="[http://www.lojacftv.com/loja/images/logo.png"](http://www.lojacftv.com/loja/images/logo.png) width="150" height="64" /></td>
<td width="24%" background = "http://www.lojacftv.com/loja/images/top1.gif"><table'>[http://www.lojacftv.com/loja/images/top1.gif">](http://www.lojacftv.com/loja/images/top1.gif)<table cellspacing=0 cellpadding=0 align="right" width=161>
<tr>
<td width="36" align=center><a href=<?=tep_href_link('shopping_cart.php')?>><img src=images/m03.gif width=33 height=33 border=0 align="left"></a></td><td width="123" class=cy><b><font color="#3399FF"><?php echo BOX_HEADING_SHOPPING_CART; ?></font></b></td>
</tr>
<tr><td height=3 colspan=2></td></tr>
<tr><td colspan=2><?php echo ICON_CART; ?><b> <a href=<?=tep_href_link('shopping_cart.php')?> class=ml><?=$cart->count_contents()?> items</a></b></td>
</table>
</table>
<table width="100%" background = "[http://www.lojacftv.com/loja/images/top_meio.gif">](http://www.lojacftv.com/loja/images/top_meio.gif)
<tr><td width=271 valign=top></td><td width="71" height="30" align="center"><a href="[http://www.dbclean.com.br/index.php?cPath=91">](http://www.lojacftv.com/loja/images/top1.gif)
<table cellspacing=0 cellpadding=0>
<? //?>
<?php
if ( (!strstr($_SERVER['PHP_SELF'],'checkout.php')) and (!strstr($_SERVER['PHP_SELF'],'create_account.php')) and (!strstr($_SERVER['PHP_SELF'],'shopping_cart.php')) and (!strstr($_SERVER['PHP_SELF'],'advanced_search.php')) and !tep_session_is_registered('customer_id') ) {
?>
<table align="center" border="0" width="100%" cellspacing="0" cellpadding="1">
<tr>
<td align="center" class="headerNavigation">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxContents" valign="middle" colspan="0">
<?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get"') ?>
<table border="0" width="50%" cellspacing="0" cellpadding="1" align="center">
<tr>
<td class="infoBoxContents" valign="middle" colspan="3"> </td>
<td class="infoBoxContents" valign="middle" colspan="3"><?php echo tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH+100) . 'px"') ?></td>
<td class="infoBoxContents" valign="top" colspan="3"> </td>
<td class="infoBoxContents" valign="middle" colspan="3"><?php echo BOX_ADVSEARCH_CAT ?></td>
<td class="infoBoxContents" valign="middle" colspan="3"><?php echo tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => BOX_ADVSEARCH_ALLCAT)))) ?></td>
<td class="infoBoxContents" valign="top" colspan="3"> </td>
<td class="infoBoxContents" valign="middle" colspan="3"><center><?php echo tep_image_submit('button_search.gif', BOX_HEADING_ADVSEARCH); ?></center></td>
</tr>
<?php } ?>
<?php /*<tr><td><img src=images/m07.gif width=199 height=13></td></tr>
<tr><td><a href=<?=tep_href_link('index.php')?>><img src=images/m18.gif width=199 height=29 border=0></a></td></tr>
<tr><td><a href=<?=tep_href_link('products_new.php')?>><img src=images/m19.gif width=199 height=25 border=0></a></td></tr>
<tr><td><a href=<?=tep_href_link('account.php')?>><img src=images/m20.gif width=199 height=24 border=0></a></td></tr>
<tr><td><a href=<?=tep_href_link('shopping_cart.php')?>><img src=images/m21.gif width=199 height=24 border=0></a></td></tr>
<tr><td><a href=<?=tep_href_link('checkout_shipping.php')?>><img src=images/m22.gif width=199 height=31 border=0></a></td></tr> */ ?>
</table>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="3" style="margin-bottom:4px; ">
<?php
if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerError">
<td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td>
</tr>
</table>
<?php
}
if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerInfo">
<td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td>
</tr>
</table>
</table>}
?>
Carregando comentários...