<?php defined( “_VALID_MOS” ) or die( “Direct Access to this location is not allowed.” );?>
<!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 “<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>
Bu giriş kodumuz yani html de kullanılan <html><head><meta http-……….. /><link …. /><title>……</title></head>gibi komutları yazdıran komut.
<?php echo $mosConfig_sitename; ?>
Bu komut, site ismini yazdırır yani site genel ayarlarında Site başlığı: yerine ne yazdınız sa ana sayfada bu kodun bulunduğu yerde o yazacaktır.
<?php mosLoadModules ( ‘banner’ ); ?>
Bu da banner bileşininin işlevini yapmasını sağlayan komut.
<?php echo mosCurrentDate(); ?>
Site yorumlandığı andaki sistem tarihi gün ay yıl olarak gösterir.
<?php mosMainBody(); ?>
Ön sayfa da gösterilmesini istediğiniz içekleri gösterir.
<?php mosPathWay(); ?>
Ziyaretcinin bulunduğu konumu gösteren komut.
<?php mosLoadModules ( ‘left’ ); ?>
Left diye belirttiğiniz modulleri gösteren komut.
<?php mosLoadModules ( ‘right’ ); ?>
Right olarak belirlediğiniz modülleri gösteren komut.
<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>
Site içi arama yapma kutusunu çıkaran komuttur.
<?php mosLoadModules ( ‘user1′ ); ?>
User1 olarak belirlediğiniz modülleri gösteren komut.
<?php mosLoadModules ( ‘user2′ ); ?>
User2 olarak belirlediğiniz modülleri gösteren komut.
<?php mosLoadModules ( ‘top’ ); ?>
Top olarak belirlediğiniz modülleri gösteren komut.