WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
Download Page (1 post)

  1. sakarya
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic