C:\xampp\htdocs\kptv2\ro\album.tpl.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php

    
if(!array_key_exists('pg'$_GET)) {
        
header("location:index.php");
        exit();
    }

      require_once(
"../conf_/siteconf_.php");
    require_once(
"../admin/dbconn.php");

    if(
$dbConn) {
        
$ra_page$db->Select($TBL_ALBUMSnull, array("ID"), array($_GET['id']));
        if(
count($ra_page))
        
$page $ra_page[0]->ContentRO;
    }
$title .=" - ".$ra_page[0]->NameRO;

?>


<main class="page">
    <section class="adr2 breadcrumbs">
    <a href="index.php" class="adr2">Home</a> &raquo;
    <a href="index.php?pg=albums" class="adr2">Albume</a> &raquo;
    <?= $ra_page[0]->NameRO ?>
    </section>

    <!-- Go to www.addthis.com personalizat -->
    <section class="addthis-social-media">
        <a title="facebook" class="addthis_button_facebook" href="javascript:;">
            <img alt="Facebook" src="/images/img_social/icon-share-fb.png" />
        </a>
        <a title="twitter" class="addthis_button_twitter" href="javascript:;">
            <img alt="Twitter" src="/images/img_social/icon-share-twitter.png" />
        </a>
        <a title="email" target="_blank" class="addthis_button_email" href="javascript:;">
            <img alt="email" src="/images/img_social/icon-share-email.png" />
        </a>
    </section>
    <section>
    <?php
        $imgPath 
"../images/albums/" $ra_page[0]->ImgID;
        if (!empty(
$ra_page[0]->ImgID) && file_exists($imgPath)) {
            echo 
"<img class=\"album_main_image\" src=\"$imgPath\" alt=\"\" hspace=\"50\" vspace=\"15\" align=\"left\">";
        }
        
?>
        <?= $page?>
    </section>
</main>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586