Esempio n. 1
0
			<?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>';
?>
		</div>
	</div>
	<div class="templatefooter">
	<?php 
echo mosLoadModules('footer');
?>
	</div>
<?php 
jsInclude("clib/bootstrap-wysiwyg/wysihtml5-0.3.0.min.js");
jsInclude("templates/{$template}/bootstrap/js/bootstrap.min.js");
jsInclude("clib/bootstrap-wysiwyg/bootstrap-wysihtml5.js");
jsInclude("clib/bootstrap-wysiwyg/prettify.js");
jsInclude("templates/{$template}/bootstrap/datepicker/js/bootstrap-datepicker.js");
Esempio n. 2
0
 function artxComponent()
 {
     // for Joomla 1.0
     ob_start();
     mosMainBody();
     $content = ob_get_clean();
     if (false === strpos($content, '<div class="art-Post">')) {
         $title = null;
         if (preg_match('~<div\\s+class="(componentheading[^"]*)"([^>]*)>([^<]+)</div>~', $content, $matches, PREG_OFFSET_CAPTURE)) {
             $content = substr($content, 0, $matches[0][1]) . substr($content, $matches[0][1] + strlen($matches[0][0]));
             $title = '<span class="' . $matches[1][0] . '"' . $matches[2][0] . '>' . $matches[3][0] . '</span>';
         }
         return artxPost($title, $content);
     }
     return $content;
 }
Esempio n. 3
0
        <td>
            <?php 
    mosLoadModules('top');
    ?>
        </td>
    </tr>
    </table>
    <?php 
}
?>
    <br>
    <table width="96%" cellpadding="0" cellspacing="0" align="center">
    <tr>
        <td>
            <?php 
mosMainBody();
if (file_exists($mosConfig_absolute_path . "/components/com_comments/comments.php")) {
    require_once $mosConfig_absolute_path . "/components/com_comments/comments.php";
}
?>
        </td>
    </tr>
    </table>
    <br>
    <?php 
if (mosCountModules("bottom") > 0) {
    ?>
    <table width="96%" cellpadding="0" cellspacing="0" align="center">
    <tr>
        <td>
            <?php 
Esempio n. 4
0
           ></script>        
    <?php 
}
?>
</head>
<body>
<div class="x6menu">
    <?php 
include 'x6menuTop.php';
?>
</div>
<div style="clear: both"></div>
<div class="x6body">
    <div class="x6main">
    <?php 
echo mosMainBody();
?>
    </div>
</div>

<div class="x6footer">
  <span style="float: left">Produced by Secure Data Software</span>
  <span style="float: right">Server time: <?php 
echo date('h:i:s a', time());
?>
</span>
</div>
<?php 
include 'androHTMLFoot.php';
?>
</body>