Results 1 to 2 of 2

Thread: Sliding login/menu bar

  1. #1

    Default Sliding login/menu bar

    Preview can be seen on <ADULT SITE> Super Porn - Share Your Videos <ADULT SITE>

    Place these in the head tags of your site in header.tpl file

    Code:
    <link rel="stylesheet" href="{$base_url}/css/slide.css" type="text/css" media="screen" />
      <!-- jQuery - the core -->
        <script src="{$base_url}/js/jquery-1.3.2.min.js" type="text/javascript"></script>
        <!-- Sliding effect -->
        <script src="{$base_url}/js/slide.js" type="text/javascript"></script>

    Edit the LINKS in the nav code to suit and place after the body tag in header.tpl

    Code:
    <!-- Panel --> 
    <div id="toppanel"> 
        <div id="panel"> 
            <div class="content clearfix"> 
                <div class="left"> 
                <h1>Welcome to {$site_name}</h1> 
                    <h2>Upload your clips and get them seen by 1000's!</h2>        
                    <p class="grey">{$site_name} is a free xxx Video hosting provider. We offer free Video hosting for all your clips!</p> 
                    <p></p>
    <p><a href="{$base_url}/signup/" />Signup</a> for an account, upload your files and share them with the world.</p> 
                </div> 
                
                     <div class="left">  <br>
    <p>Site Menu</p>
    <p><a href={$base_url}>Home</a></p>
    <p><a href={$base_url}/upload/>Upload</a></p>
    <p><a href={$base_url}/recent/>Video's</a></p>
    <p><a href={$base_url}/channels/>Category's</a></p>
    <p><a href={$base_url}/groups/featured/1>User Groups</a></p>
    <p><a href=http://{$site_name}.co.uk/>Forum</a></p>
    <p><a href="{$base_url}/rssnew.php"><img border="0" src="{$base_url}/templates/images/rss.gif" alt="rss" /></a> </p>
    
    </div>
         <div class="left right"><br />            
            User Menu<br>
    
                 {if $smarty.session.USERNAME ne ""}   <p> <a href="{$base_url}/{$smarty.session.USERNAME}">Welcome {$smarty.session.USERNAME}</a>! </p> 
                   <p>  <a href="{$base_url}/mail.php?folder=inbox"><img class="mail" height="12" {if $total_msg eq ""}src="{$img_css_url}/images/icon_mail_off.gif"{else}src="{$img_css_url}/images/newmail.gif"{/if} width="14" border="0" alt="mail" /></a>
                     (<a  href="{$base_url}/mail.php?folder=inbox">My Messages - {insert name="msg_count" assign=total_msg}{$total_msg}</a>) </p>
                    
    
        <p><a href="{$base_url}/{$smarty.session.USERNAME}">My Profile</p>
        <p><a href="{$base_url}/{$smarty.session.USERNAME}/public/">Public Videos</a></p>
        <p><a href="{$base_url}/{$smarty.session.USERNAME}/private/">Private Videos</a></p>
        <p><a href="{$base_url}/{$smarty.session.USERNAME}/favorites/">Favorites</a></p>
        <p><a href="{$base_url}/{$smarty.session.USERNAME}/friends/">Friends</a></p>
        <p><a href="{$base_url}/{$smarty.session.USERNAME}/playlist/">Playlist</a></p>
        <p><a href="{$base_url}/{$smarty.session.USERNAME}/groups/">Groups</a></p>
    <p> <a href="{$base_url}/logout/" class="bold">Log Out</a> </p>
    {$smarty.session.ZIP}
                {else}
                     <a href="{$base_url}/signup/">Sign Up</a> 
                     <br><br>
    <!-- login_box1 -->
    
    <div id="login_box2">
      
        <div class="section bg2">
        
            <div class="hd">
                <div class="hd-l">
                      {$site_name} Log In
                </div>
            </div>
            
            <form method="post" action="{$base_url}/login/" id="login-form">
            
                <div>
                    <label for="user_name">User Name:</label>
                    <input type="text" id="user_name" size="22" name="user_name" value="{$user_name}" />
                </div>
                 
                <div>
                    <label for="password">Password:</label>
                    <input type="password" id="password" size="22" name="user_password" />
                </div>
    
                <div class="forget-passsword">
                    <a href="{$base_url}/recoverpass.php">Forgot your password?</a>
                </div>
                
                <div class="submit">
                    <input type="submit" value="Log In" name="action_login" />
                    <input type="checkbox" name="autologin" />Remember
                </div>
            
            </form>
        
        </div> 
        
    </div> <!--login_box2 -->
    
    {/if} 
               
            </div> </div>
        </div> <!-- /login -->    
     {if $smarty.session.USERNAME ne ""}
        <!-- /login -->    
     
        <!-- The tab on top -->    
        <div class="tab">
            <ul class="login">
                <li class="left">&nbsp;</li>
                <li>Hello {$smarty.session.USERNAME}!</li>
                <li class="sep">|</li>
                <li id="toggle">
                     
    
    
    <a id="open" class="open" href="#">Account Menu</a>
                    <a id="close" style="display: none;" class="close" href="#">Close Panel</a>            
                </li>
                <li class="right">&nbsp;</li>
            </ul> 
        </div> <!-- / top -->
        
    </div>
    
    {else}
    
    
    
        <!-- The tab on top -->    
        <div class="tab">
            <ul class="login">
                <li class="left">&nbsp;</li>
                <li>Hello Guest!</li>
                <li class="sep">|</li>
                <li id="toggle">
                     
    
    
    <a id="open" class="open" href="#">Log In | Menu</a>
                    <a id="close" style="display: none;" class="close" href="#">Close Panel</a>            
                </li>
                <li class="right">&nbsp;</li>
            </ul> 
        </div> <!-- / top -->
        
    </div>
    {/if}
    <!-- End Panel -->
    Upload all files from this folder keeping the structure intact
    (must be under your main install directory)
    ie Myvsharefolder/css
    Myvsharefolder/css
    Myvsharefolder/images
    Myvsharefolder/js

    No files should need to overwrite. if they do then you have added something to vshare and need to change accordingly!

    https://yourxnxx.com
    Last edited by anth0ny; 03-03-2018 at 01:28 AM.

  2. #2

    Default

    Links back online and

    1x bug fixed witch stopped the scripted working on a few pages in 2.8.1
    Last edited by anth0ny; 04-09-2012 at 06:48 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •