my QUOTING doesnt work!! Help! (the problem is back on, i didnt solve it)

Started by tinatoth, February 03, 2006, 09:06:29 PM

Previous topic - Next topic

Kindred

hmmm...  wobo, I don't know about the joomlahacks board...  but tina, what is the code that you have in the <head> of your joomla template?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tinatoth

mine is a mambo, not a joomla template. here's the entire template:


<?php

defined
( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

// needed to seperate the ISO number from the language file constant _ISO

$iso = explode( '=', _ISO );

// xml prolog

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
global $sc, $context, $settings;

if (!
defined('SMF')){
require (
"administrator/components/com_smf/config.smf.php");
require (
$smf_path."/SSI.php");
}

$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

mysql_select_db($mosConfig_db);

echo
'
<script language="JavaScript" type="text/javascript" src="'
, $settings['default_theme_url'], '/script.js?beta4"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "'
, $settings['theme_url'], '";
var smf_images_url = "'
, $settings['images_url'], '";
var smf_scripturl = "'
, $scripturl, '";
var smf_session_id = "'
, $context['session_id'], '";
// ]]></script>'
;

echo
'
<link rel="stylesheet" type="text/css" href="'
, $settings['theme_url'], '/style.css?rc1" />
<link rel="stylesheet" type="text/css" href="'
, $settings['default_theme_url'], '/print.css?beta4" media="print" />
<link rel="help" href="'
, $scripturl, '?action=help" target="_blank" />
<link rel="search" href="'
. $scripturl . '?action=search" />
<link rel="contents" href="'
, $scripturl, '" />';
?>



<?php mosShowHead(); ?>

<?php

if ( $my->id ) {

initEditor();

}

$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;

//script to determine which div setup for layout to use based on module configuration

$user1 = 0;

$user2 = 0;

$colspan = 0;

$right = 0;

// banner combos



//user1 combos

if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {

$user1 = 2;

$user2 = 2;

$colspan = 3;

} elseif (
mosCountModules( 'user1' ) == 1 ) {

$user1 = 1;

$colspan = 1;

} elseif (
mosCountModules( 'user2' ) == 1 ) {

$user2 = 1;

$colspan = 1;

}



//right based combos

if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {

$right = 1;

}

?>

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">


<!--design: Valentina Toth-->
</head>

<body>



<div align="center">

<table border="0" cellpadding="0" cellspacing="0" width="808" class="mainback">

<tr>

<td class="outline">

<div id="buttons" align="right">

    <?php mosLoadModules ( 'user3', -1); ?>

  </div>

  <div>

    <div>

    <?php mosLoadModules ( 'user4', -1 ); ?>

    </div>

  </div>

  <div class="clr"></div>

  <div id="header_outer">

  <div id="header">

  &nbsp;

  </div>

  <div>

    <div>

    <?php

      if ( mosCountModules( 'top' ) ) {

      mosLoadModules ( 'top' );

      } else {

      ?>

     

      <?php

      }

      ?>

     </div>

      </div>

  </div>

</td></tr><tr><td align="center">



        <table width="808" border="0" cellspacing="0" cellpadding="0">

          <tr>

            <td width="600" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainwindowPadding">

                <tr>

                  <td colspan="<?php echo $colspan; ?>" valign="top" class="body_outer">
<?php mosLoadModules ('latestnews' ); ?><?php mosLoadModules( 'banner', -1 ); ?><?php mosMainBody(); ?> <?php mosLoadModules ('zoom' ); ?>

                  </td>

                </tr>

              </table></td>

            <td valign="top" class="rightwindowborder">

  <?php mosLoadModules ( 'right' ); ?>

  </td>

          </tr>

        </table>

        <table border="0" cellpadding="0" cellspacing="0" width="808" class="content_table">

          <tr>

            <td> <div id="left_outer">

                <div id="left_inner">

                  <?php mosLoadModules ( 'left' ); ?>

                </div>

              </div>

<?php

  if ( mosCountModules ('banner') ) {

  ?>

                 

                 </td>

          </tr>

        </table>

        <?php

  }

  ?>

        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">

<tr valign="top">

<td width="99%">

<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">



<?php

if ($colspan > 0) {

?>

<tr valign="top">

<?php

  if ( $user1 > 0 ) {

  ?>

  <td width="50%">

  <div class="user1_inner">

                      <?php mosLoadModules ( 'user1' ); ?>

                    </div>

  </td>

  <?php

  }

  if ( $colspan == 3) {

?>

<td width="2">

<img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="10" width="2"/>

</td>

<?php

}

  if ( $user2 > 0 ) {

  ?>

  <td width="50%">

  <div class="user2_inner">

  <?php mosLoadModules ( 'user2' ); ?>

  </div>

  </td>

  <?php

  }

?>

</tr>

<tr>

<td colspan="<?php echo $colspan; ?>">

<img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="2" width="100"/><br />

</td>

</tr>

<?php

}

?>

<tr>

<td></td>

</table>

</tr>

</table> 

       

      </td>

<?php

if ( $right > 0 ) {

  ?>

  <td>

 

  </td>

  <?php

  }

  ?>



</tr><tr><td align="center"><hr size="1" />

        <?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>

        <?php mosLoadModules( 'debug', -1 );?></td></tr>

</table>

  </div>



  </td>

  </tr>

  </table>





</body>
<?php mysql_select_db($GLOBALS['db_name']); ?>

</html>


Advertisement: