Location: PHPKode > projects > UNKNOW > blog/focus.php
<?PHP
$link = focuscontainer;
$desc = "Edit main content box inner container style.";
include "dmtop.php";
include "dmbot.php";
?><div class="focuscontainer"><?PHP
$langtable = "$prefix" . "OBJECTS";
include "$_SERVER[DOCUMENT_ROOT]/webifycore/fb.php"; 
?><!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" style="float: right; width: 242px;">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f3a9f55769a8859"></script>
<!-- AddThis Button END -->
<?php
//.....................
include "focusadmin.php";
//.....................
?>
<h1><?PHP
$link = h1;
$desc = "Edit main heading style.";
include "dmtop.php";
?>
<?PHP
//.....................
$t = "$row[TITLE]";
$field = "TITLE" . "$_GET[ln]";
$id = $_GET[id];
include "langinccontent.php";
//.....................
?>
<?PHP
//.....................
include "dmbot.php";
//.....................
?>
<?PHP
//.....................
$link = hr;
$desc = "Edit horizontal rule style.";
include "dmtop.php";
//.....................
?>
<hr><?PHP include "dmbot.php"; ?></h1>
<?php
//.....................
include "focusadminphoto.php";
//.....................
?>
<?php
//.....................
if (!empty($row[MAINPHOTO]) && file_exists("uploads/$row[ID]/files/$row[MAINPHOTO]")) {
//.....................
?>

<?PHP
//.....................
$link = focusphoto;
$desc = "Edit main photo style.";
include "dmtop.php";
//.....................
?><img class="focusphoto" src="uploads/<?php echo $row[ID]; ?>/files/<?php echo $row[MAINPHOTO]; ?>">
<?PHP
//.....................
include "dmbot.php";
//.....................
?>
<?PHP } ?>

<?PHP
//.....................
if (empty($_GET[photo])) {
//.....................
?>
<?PHP
//.....................
$link = h3;
$desc = "Edit summary heading style.";
include "dmtop.php";
//.....................
?>
<h3 style="margin-bottom: 15px;"><?PHP $t = "$row[CAPTION]"; $field = "CAPTION" . "$_GET[ln]"; $id = $_GET[id]; include "langinccontent.php"; ?></h3>
<?PHP
//.....................
include "dmbot.php";
//.....................
?>
<?PHP } ?>

<?PHP
$link = focusthumb;
$desc = "Edit gallery thumbnail style.";
include "dmtop.php";
?><div id="gallery"><?php
//........................
$dir = opendir("uploads/$row[ID]/thumbnails");
while ($file = readdir($dir)) {
        if ($row[MAINPHOTO] != $file) {

                $pieces = explode(".", "$file");
                $ext = $pieces[1];
                if ($ext != htaccess && !empty($ext)) {
//.....................
?>
<?PHP
//.....................
$link = "uploads/$row[ID]/files/$file";
if ($_GET[photo] == 1)
        $link = "index.php?page=focus&id=$row[ID]&file=$file&photo=1";
else
        $rel = "rel=\"example_group\"";

$gallerycheck = 1;
//.....................
?>
<a <?php echo $rel; ?> href="<?php echo $link; ?>"><img class="focusthumb" title="<?php echo $row[TITLE]; ?>" src="uploads/<?php echo $row[ID]; ?>/thumbnails/<?php echo $file; ?>"></a>
<?PHP 
//........................
                }
        }
}
//........................
?>
</div>
<?php
//.....................
include "focusadminsetphoto.php";
//.....................
?>
<?PHP
//.....................
include "dmbot.php";
//.....................
?>
<?PHP
//.....................
$link = small;
$desc = "Edit small font style.";
include "dmtop.php";
//.....................
?>

<span class="small">
<?PHP $t = "$row[DESCRIPTION]"; $field = "DESCRIPTION" . "$_GET[ln]"; $id = $_GET[id]; include "langinccontent.php"; ?>
</span>
<?PHP
//.....................
include "dmbot.php";
//.....................
?></div>
Return current item: UNKNOW