function loadPosition($position, $style = -2)
{
    $modules = '';
    if (mosCountModules($position)) {
        ob_start();
        mosLoadModules($position, $style);
        $modules = ob_get_contents();
        ob_end_clean();
    }
    return $modules;
}
Example #2
0
        <tr>
            <td width="50%" valign="top">
                <?php 
mosLoadModules('user1');
?>
            </td>
            <td width="50%" valign="top">
                <?php 
mosLoadModules('user2');
?>
            </td>
        </tr>
        </table>
        <br>
        <?php 
if (mosCountModules("inset") > 0) {
    ?>
        <table width="96%" cellpadding="0" cellspacing="0" align="center">
        <tr>
            <td>
                <?php 
    mosLoadModules('inset');
    ?>
            </td>
        </tr>
        </table>
        <?php 
}
?>

    </td>
Example #3
0
}
?>
						 </div>
				  </div>
		  		</div>
		  		<div id="left_outer">
		  			<div id="left_inner">
		  			<?php 
mosLoadModules('left', -2);
?>
		  			</div>
		  		</div>
		  		<div id="content_outer">
					<div id="content_inner">
					<?php 
if (mosCountModules('banner')) {
    ?>
		  				<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
						<tr>
								<td>
									<div id="banner_inner">
									<img src="<?php 
    echo $mosConfig_live_site;
    ?>
/templates/rhuk_solarflare_ii/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement" border="0" height="8" width="468" /><br />
			  					<?php 
    mosLoadModules('banner', -1);
    ?>
<br />
									</div>
									<div id="poweredby_inner">
Example #4
0
mosLoadModules('newsflash');
?>
			<?php 
mosLoadModules('right');
?>
			<?php 
mosLoadModules('user4');
?>
			</div>
			<!-- end right column. -->
		</div>
		<!-- start banner. position:banner -->
		<div class="clear">
		</div>
		<?php 
if (mosCountModules('banner') >= 1) {
    ?>
		<div id="banner">
			<div align="left">
			<?php 
    mosLoadModules('banner');
    ?>
			</div>
		</div>
		<?php 
} else {
    ?>
		<div id="blackline">
		</div>
		<?php 
}
Example #5
0
 function artxCountModules($document, $position)
 {
     if (null == $document) {
         // for Joomla 1.0
         return mosCountModules($position);
     }
     // for Joomla 1.5
     return $document->countModules($position);
 }
Example #6
0
        mosLoadModules('user9', -2);
        ?>
						      </td>
						      <?php 
    }
    ?>
						    </tr>
						  </table>
						</div>
						<?php 
}
?>
 
					</td>
					<?php 
if (mosCountModules('right')) {
    ?>
					<td class="right">
					 <div class="sidepad">
					   <?php 
    mosLoadModules('right', -2);
    ?>
					 </div>
					</td>
					<?php 
}
?>
				</tr>
			</table>
            <?php 
if (!(vgfGet('x4') === true && LoggedIn())) {
Example #7
0
// 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 
mosShowHead();
if ($my->id) {
    initEditor();
}
$collspan_offset = mosCountModules('right') ? 2 : 1;
//right based combos
if (mosCountModules('user1', 'user2') and empty($_REQUEST['task']) || $_REQUEST['task'] != 'edit') {
    $user1 = 1;
    $user2 = 2;
}
?>
<meta http-equiv="Content-Language" content="en-us">
<link href="<?php 
echo $mosConfig_live_site;
?>
/templates/jm_medical/css/template_css.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
<div align="center">
	<table border="0" cellpadding="0" cellspacing="0" width="900" id="table1" class="main">
Example #8
0
?>
</td>
<td align="right">&nbsp;</td>
<td align="right" width="180"><?php 
echo strftime(_DATE_FORMAT_LC, time() + $mosConfig_offset * 60 * 60);
?>
&nbsp;</td>
</tr>
</table>
  </td></tr>

  <tr>
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr align="left" valign="top">
	  <?php 
if (mosCountModules("left")) {
    ?>
        <td width="178">
        <table width="100%"  border="0" cellspacing="3" cellpadding="0">
          <tr><td><?php 
    mosLoadModules('left', "-3");
    ?>
</td></tr>
          <tr><td><?php 
    mosLoadModules('user1', "-3");
    ?>
</td></tr>
        </table>
          </td>
		  <?php 
}
Example #9
0
<tr>
    <td align="right" colspan="3" height="25">
<div align="center">
<?php 
// if (file_exists("display.php")) { include("display.php"); }
?>
</div>
<div style="float:left"><a href="http://validator.w3.org/check/referer">Validate XHTML</a></div>
		  <div style="float:right"><a href="http://jigsaw.w3.org/css-validator/check/referer">Validate CSS</a></div>
    </td>
</tr>
<tr>
    <td colspan="3" height="1" class="pathway">
       <hr size="1" />
                <?php 
if (mosCountModules("advert3") > 0) {
    mosLoadModules('advert3');
}
?>

    </td>
</tr>
</table>
<?php 
if (file_exists("mosmodule/ga.php")) {
    include "mosmodule/ga.php";
}
?>
</body>
</html>
Example #10
0
		<?php 
    echo mosLoadModules('left', -2);
    ?>
		</div>
	</div>
	<br />
	<!-- END: LEFT COLUMN -->
	<?php 
}
?>

</div>

<!-- BEGIN: FOOTER -->
<?php 
if (mosCountModules('user3')) {
    ?>
<div id="ja-botnavwrap" class="clearfix">
	<small>www.yoursite.com</small>
	<div id="ja-botnav" class="clearfix">
		<?php 
    mosLoadModules('user3', -1);
    ?>
		<ul class="accessibility">
			<li><a title="Go to Top" href="<?php 
    echo getCurrentURL();
    ?>
#Top" class="gotop-button">Top</a></li>
		</ul>
	</div>
</div>
Example #11
0
		<div id="content">
			<table class="shadow">
				<tr>
					<td class="c1">
						<div id="pathway">
							<div class="space">
								<?php 
mosPathWay();
?>
							</div>
						</div>
						<div class="c_tl">
							<div class="c_bl">
								<div class="space">
									<?php 
if (mosCountModules(user1) and mosCountModules(user2)) {
    ?>
									<table>
										<tr>
											<td class="user1">
												<div class="user_bg"><?php 
    mosLoadModules('user1', -3);
    ?>
</div>
											</td>
											<td><div class="column_separator"></div></td>
											<td class="user2">
												<div class="user_bg"><?php 
    mosLoadModules('user2', -3);
    ?>
</div>
Example #12
0
    mosLoadModules('user2', -2);
    ?>
				</div>
				<?php 
}
?>
			<div class="clr"></div>
			<div class="content">
				<a name="content"></a>
				<?php 
mosMainBody();
?>
			</div>
		</div>
		<?php 
if (mosCountModules("right") || mosCountModules("top")) {
    ?>
			<div id="rightcol-broad">
				<?php 
    mosLoadModules('top', -3);
    ?>
				<?php 
    mosLoadModules('right', -3);
    ?>
			</div>
			<?php 
}
?>
		<div class="clr"></div>
	</div>
Example #13
0
			</div>
			</td>
			<?php 
}
?>
		<td valign="top" class="right_box" width="151" style="width: 151px">
		<div id="right_box">
			<!-- far right menu -->
			<div class="leftblock" id="leftblock" style="width:143px">
			<?php 
mosLoadModules('left');
?>
			</div>
			<div class="user1block" id="user1block" style="width:143px">
			<?php 
if (mosCountModules("user1")) {
    mosLoadModules('user1');
}
?>
			</div>
		</div>
		</td>
	</tr>
	<tr>
		<td colspan="<?php 
echo $collspan_offset + 1;
?>
">
		<img src="<?php 
echo $mosConfig_live_site;
?>
Example #14
0
    function ehMain()
    {
        $hN = $this->h['Links'] . ($this->h['Links'] == '' ? '' : '<br/>') . $this->h['NavBar'] . ($this->h['NavBar'] == '' ? '' : '<br>');
        ?>
      
		<div class="hero-unit"><h1><?php 
        echo $this->PageSubtitle;
        ?>
</h1></div>
        <?php 
        ehErrors();
        if (mosCountModules('commands')) {
            $commands = ehModuleCommands('commands');
            if (!empty($commands)) {
                $commands = '
                            <div class="container" style="padding-bottom:15px;">
                                <div class="span' . ($left === false ? '12' : '9') . '">' . $commands . '
                                </div>
                            </div>';
            } else {
                $commands = '';
            }
        }
        echo $commands;
        if (is_null($this->table_obj_child)) {
            echo $this->h['ButtonBar'];
        }
        echo $this->ehMainModeComment($this->mode);
        echo $this->h['Content'];
        foreach ($this->h['Extra'] as $EKey => $EContent) {
            echo $EContent;
        }
    }
Example #15
0
            case 'credits':
                include KUNENA_ABSSOURCESPATH . 'kunena.credits.php';
                break;
                #########################################################################################
            #########################################################################################
            default:
                if (file_exists(KUNENA_ABSTMPLTPATH . '/listcat.php')) {
                    include KUNENA_ABSTMPLTPATH . '/listcat.php';
                } else {
                    include KUNENA_ABSPATH . '/template/default/listcat.php';
                }
                break;
        }
        //hctiws
        // Bottom Module
        if (mosCountModules('kunena_bottom') || mosCountModules('kna_btm')) {
            ?>

        <div class = "bof-bottom-modul">
            <?php 
            if (CKunenaTools::isJoomla15()) {
                $document =& JFactory::getDocument();
                $renderer = $document->loadRenderer('modules');
                $options = array('style' => 'xhtml');
                $position = 'kunena_bottom';
                echo $renderer->render($position, $options, null);
            } else {
                mosLoadModules('kna_btm', -2);
            }
            ?>
        </div>
Example #16
0
File: index.php Project: cwcw/cms
?>
/templates/allm_classy/images/main_left.gif" width="25" height="14" /></td>
          <td valign="top" bgcolor="#DBE7F2">
            <?php 
include_once "mainbody.php";
?>
          </td>
          <td width="25" valign="top" background="<?php 
echo $mosConfig_live_site;
?>
/templates/allm_classy/images/main_right.gif"><img src="<?php 
echo $mosConfig_live_site;
?>
/templates/allm_classy/images/main_right.gif" width="25" height="14" /></td>
          <?php 
if (mosCountModules("right")) {
    ?>
		  <td width="170" align="center" valign="top" bgcolor="#7EA1BD"><table width="157" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td> 
                  <?php 
    mosLoadModules('right');
    ?>
                  <?php 
    mosLoadModules('user2');
    ?>
                </td>
              </tr>
            </table></td>
			<?php 
}
Example #17
0
						</li>
					</ul>
					<?php 
}
?>
					<?php 
echo loadMenu();
?>
				</div>
			</div>
		</div>
	</div>	
	<div class="container-fluid">	
		<div class="row-fluid">
			<?php 
if (mosCountModules('left')) {
    $left = mosLoadModules('left', -2);
    if (is_null($left)) {
        $left = false;
    }
    if ($left) {
        echo '<div class="span3" style="clear:both;">';
        echo '<div class="well sidebar-nav">';
        echo $left;
        echo '</div>';
        echo '</div>';
    }
}
echo '<div class=" test span' . ($left === false ? '12' : '9') . '" style="padding-bottom:15px;">';
echo str_replace('--COMMANDS--', $commands, mosMainBody());
echo '</div>';
Example #18
0
    ?>
                    </td>
                <?php 
}
?>
            
                <td class="templatemain">
                <?php 
echo mosMainBody();
?>
                </td>
            </tr>
        </table>        
    
        <?php 
if (mosCountModules('footer')) {
    ?>
            <div class="templatefooter"><?php 
    echo mosLoadModules('footer');
    ?>
            </div>
        <?php 
}
?>
    </div>
</center>
<?php 
include 'androHTMLFoot.php';
?>
</body>
</html>