Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- ?>
- <!doctype html>
- <!--[if IE 8 ]><html class="ie8" lang="en-US"><![endif]-->
- <!--[if IE 9 ]><html class="ie9" lang="en-US"><![endif]-->
- <!--[if (gte IE 10)|!(IE)]><!-->
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
- <!--<![endif]-->
- <head>
- <title>SevenMag - Responsive Blog/Magazine/News/Game HTML5 Template</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
- <link rel='stylesheet' href='<?php echo "$accank/$f[folder]/css/style.css" ?>' type='text/css' media='all' />
- <link rel='stylesheet' href='<?php echo "$accank/$f[folder]/css/icons.css" ?>' type='text/css' media='all' />
- <link rel='stylesheet' href='<?php echo "$accank/$f[folder]/css/animate.css" ?>' type='text/css' media='all' />
- <link rel='stylesheet' href='<?php echo "$accank/$f[folder]/css/responsive.css" ?>' type='text/css' media='all' />
- <link rel='stylesheet' href='<?php echo "$accank/$f[folder]/css/css_baru.css" ?>' type='text/css' media='all' />
- <link rel='stylesheet' id='camera-css' href='<?php echo "$accank/$f[folder]/css/camera.css" ?>' type='text/css' media='all'>
- <link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
- <link rel="shortcut icon" href="img/favicon.png" />
- <link rel="apple-touch-icon" href="img/apple-touch-icon.png">
- <!--[if IE]>
- <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=EmulateIE8; IE=EDGE" />
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- </head>
- <body>
- <div id="layout" class="full">
- <header id="header">
- <div class="head">
- <div class="row clearfix">
- <div class="logo">
- <h1><a href="index-2.html" rel="home" title="Sevenmag Magazine HTML5 Template">
- <img src="<?php echo "$accank/$f[folder]/images/header.jpg" ?>" alt="SevenMag"></a>
- </h1>
- </div><!-- /logo -->
- </div><!-- /row -->
- <!--
- <div class="ulos">
- <img src="<?php echo "$f[folder]/images/ulos.jpg" ?>">
- </div>-->
- </div><!-- /head -->
- <div class="sec_head2">
- <div class="row clearfix">
- <nav id="mymenuone">
- <ul class="sf-menu res_mode">
- <li><a href="index-2.html">HOME</a></li>
- <li><a href="index-2.html">PROFIL DAERAH</a>
- <ul>
- <?php
- $main=mysql_query("SELECT * FROM profil WHERE id_parent='0' ");
- while($r=mysql_fetch_array($main)){
- echo "<li><a href='profil-$r[id_profil]-$r[judul_seo].html'><span>$r[judul]</span></a>";
- $sub=mysql_query("SELECT * FROM profil WHERE id_parent='$r[id_profil]' ");
- $jml=mysql_num_rows($sub);
- // apabila sub menu ditemukan
- if ($jml > 0){
- echo "<ul>";
- while($w=mysql_fetch_array($sub)){
- $sub2=mysql_query("SELECT * FROM profil WHERE id_profil='$w[id_profil]' ");
- $jml2=mysql_num_rows($sub2);
- if ($jml2 > 0){
- echo "<li><a href='profil-$w[id_profil]-$w[judul_seo].html' class='parent'><span>» $w[judul]</span></a>";
- }
- else{
- echo "<li><a href='profil-$w[id_profil]-$w[judul_seo].html'><span>» $w[judul]</span></a>";
- }
- }
- echo "</li></ul>
- </li>";
- }
- else{
- echo "</li>";
- }
- }
- ?>
- </ul>
- </li>
- <li><a href="index-2.html">PROFIL PEMERINTAH</a></li>
- <li><a href="index-2.html">INSTANSI</a></li>
- <li><a href="category.html">PELAYANAN PUBLIK</a>
- <ul>
- <li><a href="category.html">Movies</a></li>
- <li><a href="category.html">World</a></li>
- <li><a href="category.html">Reviews</a></li>
- <li><a href="category.html">Games</a></li>
- <li><a href="category.html">Business</a></li>
- <li><a href="category.html">Tech</a></li>
- <li><a href="category.html">Sports</a></li>
- </ul>
- </li>
- <li><a href="<?php echo $accank ;?>/berita.html">NEWS & EVENT</a>
- <ul>
- <?php
- $kategori=mysql_query("SELECT nama_kategori, kategori.id_kategori, kategori_seo,
- COUNT(berita.id_kategori) AS jml
- FROM kategori LEFT JOIN berita
- ON berita.id_kategori=kategori.id_kategori
- WHERE kategori.aktif='Y'
- GROUP BY nama_kategori");
- while($k=mysql_fetch_array($kategori)){
- $nama_kategori=strtoupper($k[nama_kategori]);
- echo "<li class='garisbawah'><a href='$accank/kategori/$k[id_kategori]/$k[kategori_seo].html' > $nama_kategori</a></li>";
- }
- ?>
- <?php
- $q=mysql_query("SELECT * FROM kategori WHERE induk='0' AND aktif='Y' ORDER BY id ASC LIMIT 5");
- while($d=mysql_fetch_array($q)){
- $nama = seo($d["nama"]);
- echo"
- <p class='border_bottom'>
- » <a href='$accank/kategori/$k[id_kategori]/$k[kategori_seo]' > $nama_kategori</a>
- </p>
- ";}
- ?>
- </ul>
- </li>
- <li><a href="shortcodes.html">AGENDA</a></li>
- <li><a href="shortcodes.html">FOTO GALLERY</a></li>
- <li><a href="contact.html">CONTACT</a></li>
- </ul>
- </nav><!-- /nav -->
- </div>
- </div>
- <div class="sec_head">
- <div class="row clearfix">
- <span class="breaking"> Trending </span>
- <ul id="ticker">
- <li><a href="post_single.html"><span> 1 day ago</span> 4 essential rules of effective logo design </a></li>
- <li><a href="post_single.html"><span> 2 days ago</span> Big brand theory: packaging design </a></li>
- <li><a href="post_single.html"><span> 3 days ago</span> How to use a website to strengthen a brand </a></li>
- <li><a href="post_single.html"><span> 1 weeks ago</span> Beautiful lettering of yesteryear </a></li>
- <li><a href="post_single.html"><span> 3 weeks ago</span> A fresh approach to iStock </a></li>
- <li><a href="post_single.html"><span> 4 weeks ago</span> The ultimate guide to logo design </a></li>
- <li><a href="post_single.html"><span> 4 weeks ago</span> Deal of the week: Certified Adobe training </a></li>
- <li><a href="post_single.html"><span> 1 months ago</span> How to use CSS specificity </a></li>
- <li><a href="post_single.html"><span> 2 months ago</span> Getting started with Edge Animate </a></li>
- <li><a href="post_single.html"><span> 2 months ago</span> Mesmerizing minimalist fractals </a></li>
- <li><a href="post_single.html"><span> 2 months ago</span> Formal degree vs. self taught </a></li>
- <li><a href="post_single.html"><span> 3 months ago</span> How to use the download attribute </a></li>
- <li><a href="post_single.html"><span> 3 months ago</span> Mobile first: Luke Wroblewski interview </a></li>
- <li><a href="post_single.html"><span> 4 months ago</span> How web posture affects experience </a></li>
- <li><a href="post_single.html"><span> 4 months ago</span> App icons with hidden messages </a></li>
- <li><a href="post_single.html"><span> 5 months ago</span> Certifications designers to become law in 2015 </a></li>
- </ul><!-- /ticker -->
- <div class="right_bar">
- <div class="social">
- <a rel="nofollow" class="bottomtip" title="Facebook " href="http://facebook.com/theme20" target="_blank"><i class="fa fa-facebook "></i></a>
- <a rel="nofollow" class="bottomtip" title="Twitter" href="http://twitter.com/theme_20" target="_blank"><i class="fa fa-twitter"></i></a>
- <a rel="nofollow" class="bottomtip" title="Foursquare" href="#"><i class="fa fa-foursquare"></i></a>
- <a rel="nofollow" class="bottomtip" title="Dribbble " href="#"><i class="fa fa-dribbble"></i></a>
- <a rel="nofollow" class="bottomtip" title="Contact us" href="contact.html" target="_blank"><i class="fa fa-envelope-o"></i></a>
- </div><!-- /social -->
- <div class="social random r_post">
- <a href="post_single.html" class="bottomtip" title="Random Post"><i class="fa fa-random"></i></a>
- </div><!-- /random post button -->
- <div class="search">
- <div class="search_icon bottomtip" title="Search"><i class="fa fa-search"></i></div>
- <div id="popup">
- <div class="search_place">
- <h4> SEARCH ON SEVENMAG </h4>
- <div class="s_form">
- <form action="http://theme20.com/demo/sevenmag_html/category.html" id="search" class="searchform" method="get">
- <input id="inputhead" name="s" type="text" onFocus="if (this.value=='Start Searching...') this.value = '';" onBlur="if (this.value=='') this.value = 'Start Searching...';" value="" placeholder="Start Searching...">
- <button type="submit"><i class="fa fa-search"></i>
- </button>
- </form><!-- /form -->
- </div><!-- /form -->
- </div><!-- /search place -->
- </div><!-- /popup -->
- <div id="SearchBackgroundPopup"></div><!-- /search bg -->
- </div><!-- /search -->
- </div><!-- /rightbar -->
- </div><!-- /row -->
- </div><!-- /sec head -->
- </header><!-- /header -->
- <?php
- include "$f[folder]/content-web.php";
- ?>
- <footer id="footer">
- <div class="row clearfix">
- <div class="alpha grid_3 footer_w">
- <div class="widget_T20_posts">
- <div class="b_title"><h4>Popular from Movies</h4></div>
- <div class="widget clearfix">
- <div class="more_posts">
- <div class="item_small">
- <div class="one_post">
- <div class="featured_thumb">
- <a href="#" title="Big brand theory: packaging design">
- <img width="80" height="80" src="img/assets/311-entete-fotolia_51161496_m-80x80.jpg" alt="Bike" />
- <span class="thumb-icon"><i class="icon-export"></i></span>
- </a>
- </div>
- <div class="item-details">
- <h3><a href="#" rel="bookmark" title="Big brand theory: packaging design">Big brand theory: packaging design</a></h3>
- <div class="post_meta">
- <a href="#" rel="date"><i class="icon-calendar mi"></i>11 Feb, 2014</a>
- <a href="#"><i class="icon-message mi"></i><span class="dsq-postid">5</span></a>
- </div>
- </div>
- </div>
- </div>
- <div class="item_small">
- <div class="one_post">
- <div class="featured_thumb">
- <a href="#" title="Mobile first: Luke Wroblewski interview">
- <img width="80" height="80" src="img/assets/davy_jones-wallpaper-1920x1440-80x80.jpg" />
- <span class="thumb-icon"><i class="icon-export"></i></span>
- </a>
- </div>
- <div class="item-details">
- <h3><a href="#" rel="bookmark" title="Mobile first: Luke Wroblewski interview">Mobile first: Luke Wroblewski interview</a></h3>
- <div class="post_meta">
- <a href="#" rel="date"><i class="icon-calendar mi"></i>10 Jan, 2014</a>
- <a href="#"><i class="icon-message mi"></i><span class="dsq-postid">4</span></a>
- </div>
- </div>
- </div>
- </div>
- <div class="item_small">
- <div class="one_post">
- <div class="featured_thumb">
- <a href="#" title="Should creatives be unionized or earn">
- <img width="80" height="80" src="img/assets/photo-12-80x80.jpg" />
- <span class="thumb-icon"><i class="icon-camera"></i></span>
- </a>
- </div>
- <div class="item-details">
- <h3><a href="#" rel="bookmark" title="Should creatives be unionized or earn">Should creatives be unionized or earn</a></h3>
- <div class="post_meta">
- <a href="#" rel="date"><i class="icon-calendar mi"></i>4 Jan, 2014</a>
- <a href="#"><i class="icon-message mi"></i><span class="dsq-postid">3</span></a>
- </div>
- </div>
- </div>
- </div>
- <div class="item_small">
- <div class="one_post">
- <div class="featured_thumb">
- <a href="#" title="A fresh approach to iStock">
- <img width="80" height="80" src="img/assets/shutterstock_100179557-3-80x80.jpg" />
- <span class="thumb-icon"><i class="icon-camera"></i></span>
- </a>
- </div>
- <div class="item-details">
- <h3><a href="#" rel="bookmark" title="A fresh approach to iStock">A fresh approach to iStock</a></h3>
- <div class="post_meta">
- <a href="#" rel="date"><i class="icon-calendar mi"></i>7 Feb, 2014</a>
- <a href="#"><i class="icon-message mi"></i><span class="dsq-postid">3</span></a>
- </div>
- </div>
- </div>
- </div>
- </div><!--/.T20-posts-->
- </div>
- </div><!-- .widget /-->
- </div><!-- .grid_3 /-->
- <div class="grid_3 footer_w">
- <div class="widget_T20_posts">
- <div class="b_title"><h4>Random Posts</h4></div>
- <div class="widget clearfix">
- <div class="more_posts">
- <div class="item_small">
- <div class="one_post">
- <div class="featured_thumb">
- <a href="#" title="4 essential rules of effective logo design">
- <img width="80" height="80" src="img/assets/photodune-1333976-80x80.jpg" />
- <span class="thumb-icon"><i class="icon-export"></i></span>
- </a>
- </div>
- <div class="item-details">
- <h3><a href="#" rel="bookmark" title="4 essential rules of effective logo design">4 essential rules of effective logo design</a></h3>
- <div class="post_meta">
- <a href="#" rel="date"><i class="icon-calendar mi"></i>10 Mar, 2014</a>
- <a href="#"><i class="icon-message mi"></i><span class="dsq-postid">0</span></a>
- </div>
- </div>
- </div>
- </div>
- <div class="item_small">
- <div class="one_post">
- <div class="featured_thumb">
- <a href="#" title="A fresh approach to iStock">
- <img width="80" height="80" src="img/assets/shutterstock_100179557-3-80x80.jpg" />
- <span class="thumb-icon"><i class="icon-camera"></i></span>
- </a>
- </div>
- <div class="item-details">
- <h3><a href="#" rel="bookmark" title="A fresh approach to iStock">A fresh approach to iStock</a></h3>
- <div class="post_meta">
- <a href="#" rel="date"><i class="icon-calendar mi"></i>7 Feb, 2014</a>
- <a href="#"><i class="icon-message mi"></i><span class="dsq-postid">3</span></a>
- </div>
- </div>
- </div>
- </div>
- <div class="item_small">
- <div class="one_post">
- <div class="featured_thumb">
- <a href="#" title="Deal of the week: Certified Adobe training">
- <img width="80" height="80" src="img/assets/shutterstock_128620886_small1-80x80.jpg" />
- <span class="thumb-icon"><i class="icon-camera"></i></span>
- </a>
- </div>
- <div class="item-details">
- <h3><a href="#" rel="bookmark" title="Deal of the week: Certified Adobe training">Deal of the week: Certified Adobe training</a></h3>
- <div class="post_meta">
- <a href="#" rel="date"><i class="icon-calendar mi"></i>3 Feb, 2014</a>
- <a href="#"><i class="icon-message mi"></i><span class="dsq-postid">0</span></a>
- </div>
- </div>
- </div>
- </div>
- <div class="item_small">
- <div class="one_post">
- <div class="featured_thumb">
- <a href="#" title="How to use CSS specificity">
- <img width="80" height="80" src="img/assets/shutterstock_145317754-80x80.jpg" />
- <span class="thumb-icon"><i class="icon-export"></i></span>
- </a>
- </div>
- <div class="item-details">
- <h3><a href="#" rel="bookmark" title="How to use CSS specificity">How to use CSS specificity</a></h3>
- <div class="post_meta">
- <a href="#" rel="date"><i class="icon-calendar mi"></i>2 Feb, 2014</a>
- <a href="#"><i class="icon-message mi"></i><span class="dsq-postid">0</span></a>
- </div>
- </div>
- </div>
- </div>
- </div><!--/.T20-posts-->
- </div>
- </div><!-- .widget /-->
- </div><!-- .grid_3 /-->
- <div class="grid_3 footer_w">
- <div class="widget_T20_posts_slideshow">
- <div class="b_title"><h4>Slideshow</h4></div>
- <div class="widget clearfix">
- <div class="gallery_widget gallery_widget_posts owl-carousel owl-theme">
- <div class="item wgr T_post">
- <div class="featured_thumb">
- <a class="first_A" href="#" title="How to write markdown" rel="bookmark">
- <img width="255" height="280" src="img/assets/usain-bolt-wallpaper-255x280.jpg" /> <span class="thumb-icon"><i class="icon-camera"></i></span>
- <h3>How to write markdown</h3>
- </a>
- </div>
- <div class="details">
- <span class="s_category">
- <a href="#" rel="date"><i class="icon-calendar mi"></i> 8 Jan, 2014</a>
- <a rel="author" href="#"><i class="icon-user mi"></i>John</a>
- </span>
- <span class="more_meta"><a href="#"><i class="icon-message mi"></i> <span class="dsq-postid">0</span>
- </a>
- </span>
- </div>
- </div>
- <div class="item wgr T_post">
- <div class="featured_thumb">
- <a class="first_A" href="#" title="An introduction to Edge Reflow" rel="bookmark">
- <img width="255" height="280" src="img/assets/AKAMATom-Clancy-Ghost-Recon-Future-Soldier-255x280.jpg" />
- <span class="thumb-icon"><i class="icon-export"></i></span>
- <h3>An introduction to Edge Reflow</h3>
- </a>
- </div>
- <div class="details">
- <span class="s_category">
- <a href="#" rel="date"><i class="icon-calendar mi"></i> 5 Jan, 2014</a>
- <a rel="author" href="#"><i class="icon-user mi"></i>John</a>
- </span>
- <span class="more_meta"><a href="#"><i class="icon-message mi"></i> <span class="dsq-postid">0</span>
- </a>
- </span>
- </div>
- </div>
- <div class="item wgr T_post">
- <div class="featured_thumb">
- <a class="first_A" href="#" title="A fresh approach to iStock" rel="bookmark">
- <img width="255" height="280" src="img/assets/shutterstock_100179557-3-255x280.jpg" />
- <span class="thumb-icon"><i class="icon-camera"></i></span>
- <h3>A fresh approach to iStock</h3>
- </a>
- </div>
- <div class="details">
- <span class="s_category">
- <a href="#" rel="date"><i class="icon-calendar mi"></i> 7 Feb, 2014</a>
- <a rel="author" href="#"><i class="icon-user mi"></i>John</a>
- </span>
- <span class="more_meta"><a href="#"><i class="icon-message mi"></i> <span class="dsq-postid">3</span>
- </a>
- </span>
- </div>
- </div>
- <div class="item wgr T_post">
- <div class="featured_thumb">
- <a class="first_A" href="#" title="How web posture affects experience" rel="bookmark">
- <img width="255" height="280" src="img/assets/shutterstock_144233608-255x280.jpg" />
- <span class="thumb-icon"><i class="icon-media-play"></i></span>
- <h3>How web posture affects experience</h3>
- </a>
- </div>
- <div class="details">
- <span class="s_category">
- <a href="#" rel="date"><i class="icon-calendar mi"></i> 9 Jan, 2014</a>
- <a rel="author" href="#"><i class="icon-user mi"></i>John</a>
- </span>
- <span class="more_meta"><a href="#"><i class="icon-message mi"></i> <span class="dsq-postid">0</span>
- </a>
- </span>
- </div>
- </div>
- <div class="item wgr T_post">
- <div class="featured_thumb">
- <a class="first_A" href="#" title="Certifications designers to become law in 2015" rel="bookmark">
- <img width="255" height="280" src="img/assets/3023349-255x280.jpg" />
- <span class="thumb-icon"><i class="icon-media-play"></i></span>
- <h3>Certifications designers to become law in 2015</h3>
- </a>
- </div>
- <div class="details">
- <span class="s_category">
- <a href="#" rel="date"><i class="icon-calendar mi"></i> 6 Jan, 2014</a>
- <a rel="author" href="#"><i class="icon-user mi"></i>John</a>
- </span>
- <span class="more_meta"><a href="#"><i class="icon-message mi"></i> <span class="dsq-postid">0</span>
- </a>
- </span>
- </div>
- </div>
- <div class="item wgr T_post">
- <div class="featured_thumb">
- <a class="first_A" href="#" title="4 essential rules of effective logo design" rel="bookmark">
- <img width="255" height="280" src="img/assets/firestock_mail_08102013-255x280.jpg" />
- <span class="thumb-icon"><i class="icon-export"></i></span>
- <h3>4 essential rules of effective logo design</h3>
- </a>
- </div>
- <div class="details">
- <span class="s_category">
- <a href="#" rel="date"><i class="icon-calendar mi"></i> 2 Jan, 2014</a>
- <a rel="author" href="#"><i class="icon-user mi"></i>John</a>
- </span>
- <span class="more_meta"><a href="#"><i class="icon-message mi"></i> <span class="dsq-postid">0</span>
- </a>
- </span>
- </div>
- </div>
- </div><!--/slideshow-->
- </div>
- </div><!-- .widget /-->
- </div><!-- .grid_3 /-->
- <div class="omega grid_3 footer_w">
- <div class="widget_subscribe">
- <div class="b_title"><h4>Subscribe to RSS Feeds</h4></div>
- <div class="widget clearfix">
- <p>Get all latest content delivered to your email a few times a month. Updates and news about all categories will send to you.</p>
- <form class="widget_rss_subscription" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onSubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=sevenpsd', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
- <input type="text" placeholder="Your Email" name="email" required />
- <input type="hidden" value="sevenpsd" name="uri" />
- <input type="hidden" name="loc" value="en_US" />
- <button type="submit" id="submit" value="Subscribe"><span>Sign Up</span>
- </button>
- </form>
- </div>
- </div><!-- .widget /-->
- <div class="widget_social">
- <div class="b_title"><h4>Follow Us</h4></div>
- <div class="widget social with_color clearfix">
- <a rel="nofollow" class="toptip" href="#" target="_blank" title="Follow us on twitter"><i class="fa fa-twitter"></i></a>
- <a rel="nofollow" class="toptip" href="#" target="_blank" title="Like us on facebook"><i class="fa fa-facebook"></i></a>
- <a rel="nofollow" class="toptip" href="#" target="_blank" title="Follow us on dribbble"><i class="fa fa-dribbble"></i></a>
- <a rel="nofollow" class="toptip" href="#" target="_blank" title="Follow us on Google+"><i class="fa fa-google-plus"></i></a>
- <a rel="nofollow" class="toptip" href="#" target="_blank" title="Foursquare"><i class="fa fa-foursquare"></i></a>
- <a rel="nofollow" class="toptip" href="#" target="_blank" title="Follow us on Soundcloud"><i class="fa fa-cloud"></i></a>
- <a rel="nofollow" class="toptip" href="#" target="_blank" title="Flickr"><i class="fa fa-flickr"></i></a>
- </div>
- </div><!-- .widget social /-->
- </div><!-- .grid_3 /-->
- </div><!-- /row -->
- <div class="row clearfix">
- <div class="footer_last">
- <span class="copyright">Copyright 2014 by Theme20. All Rights Reserved. Powered by HTML5</span>
- <nav class="nav-footer" id="nav-footer">
- <ul class="sf-menu">
- <li class="current"><a href="index-2.html">Home</a></li>
- <li><a href="#">Forums</a></li>
- <li><a href="category.html">Movies</a></li>
- <li><a href="category.html">Reviews</a></li>
- <li><a href="category.html">Games</a></li>
- <li><a href="category.html">Contact</a></li>
- </ul>
- </nav><!--/nav-footer-->
- </div><!-- /last footer -->
- </div><!-- /row -->
- </footer><!-- /footer -->
- </div><!-- /layout -->
- <div id="toTop"><i class="icon-arrow-thin-up"></i></div>
- <!-- /Scripts -->
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
- <script type="text/javascript">
- var id_kategori = 19;
- $(document).ready(function(){
- function loading_show(){
- $('#loading').html("<img src='../../images/loading.gif'/>").fadeIn('fast');
- }
- function loading_hide(){
- $('#loading').fadeOut('fast');
- }
- function loadData(page,id){
- loading_show();
- $.ajax
- ({
- type: "POST",
- url: "../../load_data.php",
- data: "page="+page+"&id="+id,
- success: function(msg)
- {
- $("#container7").ajaxComplete(function(event, request, settings)
- {
- loading_hide();
- $("#container7").html(msg);
- });
- }
- });
- }
- loadData(1,id_kategori); // For first time page load default results
- $('#container7 .pagination li.active').live('click',function(){
- var page = $(this).attr('p');
- loadData(page,id_kategori);
- });
- $('#go_btn').live('click',function(){
- var page = parseInt($('.goto').val());
- var no_of_pages = parseInt($('.total').attr('a'));
- if(page != 0 && page <= no_of_pages){
- loadData(page,id_kategori);
- }else{
- alert('Enter a PAGE between 1 and '+no_of_pages);
- $('.goto').val("").focus();
- return false;
- }
- });
- });
- </script>
- <script type='text/javascript' src='<?php echo "$accank/$f[folder]/js/jquery.js" ?>'></script>
- <script type='text/javascript' src='<?php echo "$accank/$f[folder]/js/seven.min.js" ?>'></script>
- <script type='text/javascript' src='<?php echo "$accank/$f[folder]/js/owl.carousel.min.js" ?>'></script>
- <script type='text/javascript' src='<?php echo "$accank/$f[folder]/js/jquery.li-scroller.1.0.js" ?>'></script>
- <script type='text/javascript' src='<?php echo "$accank/$f[folder]/js/jquery.fitvids.js" ?>'></script>
- <script type='text/javascript' src='<?php echo "$accank/$f[folder]/js/custom.js" ?>'></script>
- <link rel='stylesheet' href='<?php echo "$accank/$f[folder]/customizer/style.css" ?>' type='text/css' media='all' />
- <script type='text/javascript' src='<?php echo "$accank/$f[folder]/customizer/script.js" ?>'></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement