C:\xampp\htdocs\kptv\ro\articol.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
<?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_ARTICLESnull, 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 class='adr2' href='index.php?pg=articole'>Legende Rock</a> &raquo;
             <?php if (isset($_GET['ord'])) echo "<a class='adr2' href='index.php?pg=articole&ord=".$_GET['ord']."'>".$_GET['ord']."</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 class="article_content">
        <?= $page?>
    </section>
</main>
x

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