Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all articles
Browse latest Browse all 32958

[Help] Help how to put this Slide in this template???

$
0
0
Hi every one i'm here to ask some help, how to pud this slideshow like of this site http://muonline.webzen.com/main

This is my screen shots of my template




tnx a lot and this is my index.php
Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<?=build_header_seo(); ?>
<title><?=build_header_title(); ?></title>
<meta name="keywords" content="MU, MU online"/>
<meta name="description" content="Private MU Online server"/>
<link type="text/css" rel="stylesheet" href="template/<?=$core['config']['template'] ?>/style.css" />
<link type="text/css" rel="stylesheet" href="template/<?=$core['config']['template'] ?>/gnb.css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="js/jquery.js"></script>
<script src="js/core_global.js"></script>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script src="js/core_global.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
       
var currenttime =  new Date();

var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
var serverdate=new Date(currenttime)

function padlength(what){
var output=(what.toString().length==1)? "0"+what : what
return output
}

function displaytime(){
serverdate.setSeconds(serverdate.getSeconds()+1)
var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds())
document.getElementById("servertime").innerHTML=timestring;
}

window.onload=function(){
setInterval("displaytime()", 1000)
}

</script>
</head>
<body>
<?php

$link_identifier = mssql_connect($core['db_host'], $core['db_user'], $core['db_password']);
mssql_select_db($core['db_name'], $link_identifier);

if($core['config']['on_off'] == '0' || $core['debug'] == '1'){
        if(isset($_SESSION['admin_login_auth'])){
                echo '<div align="center" style="color: red; background-color: white; padding:2px"><b>Warning: The website is currently turned off!</b></div>';
        }

}
?>
<header>
        <div class="g_Line_left"></div>
        <div class="g_Line_right"></div>
        <section>               
    <h1><a href="http://www.webzen.com"><span class="none">Webzen</span></a></h1>               
    <nav id="GlobalNav">                       
      <ul>                               
        <li class="newGnbMenu01">                                       
          <a href="#" class="depth01" rel="nofollow">Link 1</a>                                                                                                       
        </li>       
        <li class="newGnbMenu02">                                       
          <a href="#" class="depth01" rel="nofollow">Link 2</a>                                                                                                       
        </li>
        <li class="newGnbMenu03">                                       
          <a href="#" class="depth01" rel="nofollow">Link 3</a>                                                                                                       
        </li>
        <li class="newGnbMenu04">                                       
          <a href="#" class="depth01" rel="nofollow">Link 4</a>                                                                                                       
        </li>
        <li class="newGnbMenu05">                                       
          <a href="#" class="depth01" rel="nofollow">Link 5</a>                                                                                                       
        </li>             
      </ul>                                       
    </nav>                       
    <nav id="GlobalJoin">                               
      <p class="dafaultCase">                               
       
        <?php
          if($user_login != '1') {
            echo '<form method="post" action="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.LOGIN_CMS_PAGE.'" name="uss_login_form">
            <input type="text" name="uss_id" maxlength="10"  id="login_field" value="Account ID" onfocus="if (this.value==\'Account ID\') this.value=\'\';" onblur="if (this.value==\'\') this.value=\'Account ID\';"></td>
            <input type="password" name="uss_password"  id="login_field" value="password" maxlength="12" onfocus="if (this.value==\'password\') this.value=\'\';" onblur="if (this.value==\'\') this.value=\'password\';">
            <input type="hidden" name="process_login">
            <input name="login" value="Login" type="submit" onclick="uss_login_form.submit();">
            </form>
            <br><a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.REGISTER_CMS_PAGE.'">› '.link_sign_up.'</a>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.LOSTPASSWORD_CMS_PAGE.'">› '.link_lost_password.'</a>
            ';
          }
          else {
           
            $getcredits1 = mssql_query("SELECT credits FROM MEMB_CREDITS where memb___id = '$user_auth_id'");
            $getcredits = mssql_fetch_array($getcredits1);
         
            echo '<div align="right">Welcome, <b>'.$user_auth_id.'</b>';
            echo '<br><b>Your Credits:</b> '.$getcredits[0].'</div>';
          }
        ?>
               
      </p>                                       
    </nav>           
    <article>                   
      <ul class="flagWrap">                       
        <li class="first">Language</li>
        <?php
          if($core['language_switch'] == '1')
          {
              foreach ($languages as $language_id =>  $language_data)
              {
                  echo '<li><img  src="template/'.$core['config']['template'].'/images/flags/'.$language_data[2].'">  <a href="'.ROOT_INDEX.'?change_language='.$language_id.'">'.$language_data[0].'</a></li>';
              }
          }
        ?>                           
      </ul>           
    </article>       
  </section>
</header>
<div id="siteVisualWrap">
        <div id="siteVisualConts">
                <div class="G_ContsWrap">
                        <div class="visualSpace"></div>
                        <nav id="GameNavi">
        <ul id="GameMenuSkip">
          <li>
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Home</span><span class="onRight"></span></a>
          </li>
          <li>
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Rules</span><span class="onRight"></span></a>
          </li>
          <li>
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Register</span><span class="onRight"></span></a>
          </li>
          <li>
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Download</span><span class="onRight"></span></a>
          </li>
          <li>
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Rankings</span><span class="onRight"></span></a>
          </li>
          <li>
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Statistics</span><span class="onRight"></span></a>
          </li>
          <li>
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Market</span><span class="onRight"></span></a>
          </li>
          <li class="on">
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Donate</span><span class="onRight"></span></a>
          </li>
          <li>
            <a href="#" class="depth01"><span class="onLeft"></span><span class="onCent">Forum</span><span class="onRight"></span></a>
          </li>
        </ul>
                        </nav>
                        <div id="contentStart">
        <section id="gContsBodyWrap">
          <ul class="location">
            <li>
              <?php echo $core['config']['websitetitle']?>&nbsp;<span>&gt;</span></b>
              <?php               
                $load_pages = file('engine/cms_data/pag_d.cms');
                foreach ($load_pages as $pages_loaded)
                {
                  $pages_loaded = explode("¦",$pages_loaded);
                  if($pages_loaded[3] == $page_check_id)
                  {
                    $p_loaded_array = preg_split( "/\ /", $pages_loaded[5]);
                    $p_l = '1';
                    break;
                  }
                }
                if($p_l == '1')
                {
                  $load_mods = file('engine/cms_data/mods.cms');
                  foreach ($load_mods as $mods_loaded)
                  {
                    $mods_loaded = explode("¦",$mods_loaded);
                    if(in_array($mods_loaded[0],$p_loaded_array))
                    {
                      $_c_id_m[] = $mods_loaded[0];
                    }
                    else
                    {
                      $_c_id_m[] = 'NULL';
                    }
                  }
                  $co=0;
                  foreach ($p_loaded_array as $give)
                  {
                    #echo $give;
                    if(in_array($give,$_c_id_m))
                    {
                      foreach ($load_mods as $give_me_out)
                      {
                        $give_me_out = explode("¦",$give_me_out);
                        if($give_me_out[0] == $give)
                        {
                          if($give_me_out[4] == '1')
                          {
                            if($_GET[LOAD_GET_PAGE] == USER_CMS_PAGE && isset($_GET[USER_GET_PAGE]))
                            {
                              $construct_title = $secondary_l;
                            }
                            else
                            {
                              $construct_title = $give_me_out[3];
                            }
                            echo ''.htmlspecialchars(str_replace($modules_text_tile,$modules_text_translate,$give_me_out[3])).'';
                          }
                        }
                      }
                    }
                  }
                }
              ?>
            </li>
          </ul>
          <section class="gContsViewWrap">
            <?php
                  if(CMS_NAVBAR == '1'){
                          if(isset($_GET[LOAD_GET_PAGE])){
                          $l_load = file("engine/cms_data/pag_d.cms");
                          foreach ($l_load as $l_name){
                                  $l_name = explode("¦",$l_name);
                                  if($l_name[3] == $page_check_id){
                                          $primary_l = $l_name[2];
                                          break;
                                  }

                          }
                  }
                 
                  if(isset($_GET[USER_GET_PAGE])){
                          $ti2_td = xss_clean(safe_input($_GET[USER_GET_PAGE],"_"));
                          $l2_load = file("engine/cms_data/mods_uss.cms");
                          foreach ($l2_load as $l2_name){
                                  $l2_name = explode("¦",$l2_name);
                                  if($l2_name[3] == $ti2_td){
                                          $secondary_l = $l2_name[2];
                                          break;
                                  }
                          }
                  }
                 
                  if(!isset($_GET[LOAD_GET_PAGE])){
                                        #&gt;
                                        $title_p =  '<a  href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a>';
                                    }elseif  (isset($_GET[LOAD_GET_PAGE])){
                                        if(isset($_GET[USER_GET_PAGE])){
                                            $usercp_module_title =  str_replace($menu_links_title,$menu_links_translated,$secondary_l);
$title_p =  '<a  href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a>  &gt; <a  href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'">'.str_replace($menu_links_title,$menu_links_translated,$primary_l).'</a>  &gt; <a  href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'&panel='.$l2_name[3].'">'.$usercp_module_title.'</a>';
                                        }else{ $title_p =  '<a  href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a>  &gt; <a  href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'">'.str_replace($menu_links_title,$menu_links_translated,$primary_l).'</a>';}
                                    }
                  echo '
                 
                  <div class="where_nav">
                  <table cellpadding="0" cellspacing="0" border="0" >
                  <tr>
                  <td align="left"><img src="template/'.$core['config']['template'].'/images/mulogo.png" border="0"></td>
                  <td>&nbsp;</td>
                  <td width="100%" align="left">'.$title_p.'</td>
                  </table>
                  </div>';
                         
                  }

if($page_check_id != ANNOUNCEMENTS_CMS_PAGE){
        require('engine/announcement_config.php');
if($core['ANNOUNCEMENT']['ACTIVE'] == '1'){
        $ann_file = array_reverse(file('engine/variables_mods/announcements.tDB'));
        $count_ann = '0';
        foreach ($ann_file as $ann){
                $ann = explode("¦",$ann);
                if($ann[3] > time()){
                        $ann_found = '1';
                        $ann_title = $ann[1];
                        $ann_date = $ann[2];
                        $ann_id = $ann[0];
;                        break;
                }
        }
}
        if($ann_found == '1'){
                echo '
                <div class="tmp_m_content">
                                        <div  class="tmp_right_title">'.text_announcement.'</div>
                                        <div class="tmp_page_content">
                                                                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                          <tr>
                                          <td rowspan="3" align="left" width="60"><img src="template/'.$core['config']['template'].'/images/announcement.png" width="16" height="16"></td>
                                          <td align="left" style="padding-top: 2px; padding-bottom: 2px;"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.ANNOUNCEMENTS_CMS_PAGE.'#announcement-'.$ann_id.'">'.$ann_title.'</a></td>
                                          <td align="right" class="ann_date">'.date('F j, Y | H:i',$ann_date).'</td>
                                          </tr>
                                          <tr>
                                          <td colspan="0"  align="left" style="background-image:url(template/'.$core['config']['template'].'/ssimages/inner_line.jpg); height: 0px;"></td>
                                          </tr>
                                         
                                          ';
                if($core['ANNOUNCEMENT']['AUTHOR'] == '1'){
                        echo '<tr>
                        <td colspan="2" align="right"><b>'.$core['config']['admin_nick'].'</b> (Administrator)</td>
                        </tr>';
                       
                }
                echo '</table></div>
                                                        </div>
                                                ';
        }
}
                 
                 
       
$load_pages = file('engine/cms_data/pag_d.cms');
foreach ($load_pages as $pages_loaded){
        $pages_loaded = explode("¦",$pages_loaded);
       
        if($pages_loaded[3] == $page_check_id){
                $p_loaded_array = preg_split( "/\ /", $pages_loaded[5]);
                $p_l = '1';
                break;
        }
}
if($p_l == '1'){
$load_mods = file('engine/cms_data/mods.cms');
foreach ($load_mods as $mods_loaded){
        $mods_loaded = explode("¦",$mods_loaded);
        if(in_array($mods_loaded[0],$p_loaded_array)){
                $_c_id_m[] = $mods_loaded[0];
        }else {
                $_c_id_m[] = 'NULL';
        }
}
$co=0;
foreach ($p_loaded_array as $give){
        #echo $give;
        if(in_array($give,$_c_id_m)){
                foreach ($load_mods as $give_me_out){
                        $give_me_out = explode("¦",$give_me_out);
                        if($give_me_out[0] == $give){
                                if($give_me_out[4] == '1'){
                                        if($_GET[LOAD_GET_PAGE] == USER_CMS_PAGE && isset($_GET[USER_GET_PAGE])){
                                                $construct_title = $secondary_l;
                                        }else{
                                                $construct_title = $give_me_out[3];
                                        }
                               
                                        echo '<div class="tmp_m_content">
                                       
                                        <div class="tmp_page_content">';
                                        if($give_me_out[1] == '1'){
                                                if(is_file("pages_modules/".$give_me_out[2]."")){
                                                        include('pages_modules/'.$give_me_out[2].'');
                                                }else{
                                                        echo 'Unable to load module file, reason: not found.';
                                                }
                                        }elseif ($give_me_out[1] == '0'){
                                                if(is_file('engine/cms_data/cms_co/'.$give_me_out[0].'_cms.cms')){
                                                        include('engine/cms_data/cms_co/'.$give_me_out[0].'_cms.cms');
                                                }else{
                                                        echo 'Unable to load module content, reason: not found.';
                                                }
                                        }
                                        echo '</div> </div>';
                                }
                        }
                }
        }
}
}
?>                                               
          </section>
          <section class="gContsInfoWrap">
            <div class="gContsInfoBg">
              <?php             
              if($user_login == '1'){
                echo '<h2 class="title" id="h1Title">User Menu</h2><menu>';
                $m_uss_row_ = get_sort('engine/cms_data/mods_uss.cms','¦');
                $count_m_uss = 0;
                foreach ($m_uss_row_ as $tr){
                  explode("¦",implode($tr));
                  $count_m_uss++;
                  if($tr[6] == '1'){
                    if($tr[3] != ACCOUNTSETTINGS_CMS_USER){                   
                      echo '<li><a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.USER_CMS_PAGE.'&'.USER_GET_PAGE.'='.$tr[3].'" " style="text-decoration: none">'.str_replace($menu_links_title,$menu_links_translated,$tr[2]).'</a></li>';
                    }
                  }
                }
                echo '</menu>';
                echo '
                <table width="300px" border="0" align="left" cellpadding="0" cellspacing="4">
                <tr>
                <td align="left" class="yellow1"><a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.USER_CMS_PAGE.'&'.USER_GET_PAGE.'='.ACCOUNTSETTINGS_CMS_USER.'"style="text-decoration: none">'.link_account_settings.'</a></td>
                <td align="right" class="yellow"><a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'=logout">'.link_log_out.'</a></td>
                </tr>
                </table>
                ';
              }
              ?> 
                 
                 
               
             
              <h2 class="title" id="h1Title">Game Menu</h2>
              <div class="menuSubWrap">
                <menu>
                  <?php
                    $m_row_ = get_sort('engine/cms_data/pag_d.cms','¦');
                    #  echo $test[1][2][3];
                    foreach ($m_row_ as $li){
                      #  explode("¦",$li);
                      switch ($li[7]){
                        case '0':
                          if($li[8] == '1'){
                            if($li[6] != '0'){
                               
                              echo '<li>';
                             
                              echo '<a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$li[3].'" style="text-decoration: none">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'</a></li>';
                            }
                          }
                          break;
                        case '1':
                          switch ($li[11]){
                            case '1': $target = "_blank"; break;
                            case '0': $target = "_self"; break;
                          }
                         
                          echo '<li>';
                         
                          echo '<a  href="'.$li[10].'"  target="'.$target.'" style="text-decoration: none">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'</a></li>  ';
                       
                        break;
                      }
                    }
                  ?>
                </menu>
              </div> 
              <div class="space20"></div>
            </div>
          </section>
        </section>
                        </div>
                        <article class="gLogo"><a href="index.php"><img src="template/<?=$core['config']['template'] ?>/images/space.gif" width="110" height="70" alt="MU Online"></a></article>
                        <article id="gStarter"><a href="index.php?page_id=register" title="PLAY" onFocus="this.blur();"></a></article>
                        <article id="gGST_Wrap">
                                <div class="gGST_BoxOn" id="gstYourTime">
                                        <span>Version</span><span>Season 6 Episode 3</span>
                                </div>
                                <div class="gGST_BoxOff">
                                        <span>Global Server Time</span><span id="servertime">00:00:00</span>
                                </div>
                        </article>
                </div>
        </div>
</div>

<footer>
        <div class="f_Line_left"></div>
        <div class="f_Line_right"></div>
        <article class="search">
    <dl class="ContryGo">
            <dt>MU Online</dt>
            <dd>
    <a href="//www.muonline.co.kr" target="_blank" rel="nofollow">Korea</a> <a href="//www.muonline.jp" target="_blank" rel="nofollow">Japan</a> <a href="//mu.zhaouc.net/" target="_blank" rel="nofollow">China</a> <a href="//mu.gate.vn" target="_blank" rel="nofollow">Vietnam</a> <a href="//www.muonline.com.tw" target="_blank" rel="nofollow">Taiwan</a> <a href="//mublue.winner.co.th/Main/" target="_blank" rel="nofollow">Thailand</a>
            </dd>
    </dl>
                <div class="sliceImg"><img src="template/<?=$core['config']['template'] ?>/images/f_line_right_img.gif" alt=""></div>
        </article>
        <section class="f_siteMap">
                <article>
                        <h3>LIVE GAMES</h3>
                        <ul>
                                <li><a onclick="javascript:location.href='http://c9.webzen.com';" style="cursor:pointer">C9</a></li>
                                <li><a onclick="javascript:location.href='http://muonline.webzen.com';" style="cursor:pointer" rel="nofollow">MU Online</a></li>
                        </ul>
                </article>
                <article>
                        <h3>UPCOMING GAMES</h3>
                        <ul>
                                <li><a onclick="javascript:location.href='http://murebirth.webzen.com';" style="cursor:pointer" rel="nofollow">MU Rebirth</a></li>
                                <li><a onclick="javascript:location.href='http://archlord2.webzen.com';" style="cursor:pointer" rel="nofollow">ARCHLORD2</a></li>
                        </ul>
                </article>
                <article>
                        <h3>ABOUT WEBZEN</h3>
                        <ul>
                                <li><a onclick="javascript:location.href='http://www.webzen.com/News/PressRelease';" style="cursor:pointer" rel="nofollow">Press Releases</a></li>
                                <li><a onclick="javascript:location.href='http://company.webzen.com/eng';" style="cursor:pointer" rel="nofollow">Company Information</a></li>
                                <li><a onclick="javascript:location.href='http://www.webzen.co.kr'" style="cursor:pointer" rel="nofollow">Webzen Korea</a></li>
                        </ul>
                </article>
                <article>
                        <h3>POLICIES</h3>
                        <ul>
                                <li><a onclick="javascript:location.href='http://www.webzen.com/Rules/PrivacyPolicy';" style="cursor:pointer" rel="nofollow">Privacy Policy</a></li>
                                <li><a onclick="javascript:location.href='http://www.webzen.com/Rules/TermsOfService';" style="cursor:pointer" rel="nofollow">Terms of Service</a></li>
                                <li><a onclick="javascript:location.href='http://www.webzen.com/Rules/PoliciesMU';" style="cursor:pointer" rel="nofollow">Policies</a></li>
                        </ul>
                </article>
                <article class="f_contus">
                        <h3>CONTACT US</h3>
                        <ul>
                                <li><a href="mailto:pr@webzen.com" rel="nofollow">Media</a></li>
                                <li><a href="mailto:business@webzen.com" rel="nofollow">Licensing &amp; Business Co-op</a></li>
                                <li><a href="mailto:marketing@webzen.com" rel="nofollow">Co-Marketing</a></li>
                        </ul>
                </article>
        </section>
        <article class="f_copyright">
                <div><img src="template/<?=$core['config']['template'] ?>/images/f_logo.gif" alt="Webzen"></div>
                <small>
                        Copyright &copy; WEBZEN, INC. All Rights Reserved.<br>
                        Template coded by jacubb.
                </small>
        </article>
</footer>   
</body>
</html>


Viewing all articles
Browse latest Browse all 32958

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>