[Plugin: WordPress Download Monitor] Download Page
-
Hello.
I’ve created a special download page. It works my server, but it doesn’t work customer server.
Page Code is here:
<?php /* * Template Name: Makaleler */ get_header(); ?> <div id="icsayfa"> <div class="sayfaicin1"> <div class="icsayfabaslik"> <h2>Makaleler</h2> <div class="kategorisi">Bilgi Güvenli?i AKADEM?S? egitmenleri ve/veya e?itime kat?lanlar taraf?ndan haz?rlanan makaleler. Tüm makaleler<br /> <span style="color:#990000"><b>pdf</b></span> format?ndad?r.</div> </div> </div> <div class="sayfaicin2"><img src="<?php bloginfo('template_directory'); ?>/images/buyukvirgul.png" alt="BGA"/></div> <div class="icyazi"> <div id="download-page"> <div id="download-page-categories"> <div class="category"> <div class="inner"> <h3><span style="color:#990000">Popüler Makaleler</span></h3> <?php $dl = get_downloads('limit=5&orderby=hits&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category alternate"> <div class="inner"> <h3><span style="color:#990000">Son Eklenen Makaleler</span></h3> <?php $dl = get_downloads('limit=5&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category"> <div class="inner"> <h3><span style="color:#990000">A? Güvenli?i Makaleleri</span></h3> <?php $dl = get_downloads('category=11&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category alternate"> <div class="inner"> <h3><span style="color:#990000">Web Güvenli?i Makaleleri</span></h3> <?php $dl = get_downloads('category=12&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category"> <div class="inner"> <h3><span style="color:#990000">PenTest Makaleleri</span></h3> <?php $dl = get_downloads('category=13&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category alternate"> <div class="inner"> <h3><span style="color:#990000">DDOS Ataklar?</span></h3> <?php $dl = get_downloads('category=14&orderby=date&order=desc');; if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category"> <div class="inner"> <h3><span style="color:#990000">Wireless Makaleleri</span></h3> <?php $dl = get_downloads('category=15&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category alternate"> <div class="inner"> <h3><span style="color:#990000">Adli Bili?im Makaleleri</span></h3> <?php $dl = get_downloads('category=16&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category"> <div class="inner"> <h3><span style="color:#990000">Firewall/IPS Makaleleri</span></h3> <?php $dl = get_downloads('category=17&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category alternate"> <div class="inner"> <h3><span style="color:#990000">Genel Makaleler</span></h3> <?php $dl = get_downloads('category=18&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <div class="category"> <div class="inner"> <h3><span style="color:#990000">De?erlendirme S?navlar?</span></h3> <?php $dl = get_downloads('category=19&orderby=date&order=desc'); if (!empty($dl)) { echo '<ol>'; foreach($dl as $d) { $date = date("jS M Y", strtotime($d->date)); echo '<li><a href="'.$d->url.'" title="'.$d->title.'" >'.$d->title.'</a></li>'; } echo '</ol>'; } ?> </div> </div> <!-- listeleme sonu --> </div> </div> </div> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
What the reason can be?
- The topic ‘[Plugin: WordPress Download Monitor] Download Page’ is closed to new replies.