Activity Stream
48,167 MEMBERS
6823 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Member

    Thumbs up [HELP] Having Problem With DLE Template

    Hi

    look below i have problem with login box in dle template please fix it if you can or guide me how can i do it



    Login.tpl

    Code: 
    <?php
    if ($is_logged == TRUE){
    
    $login_panel = <<<HTML
        
        <div class="loginboxdate">
            <h4><b>Hi, <a href="{$link_profile}">{$member_id['name']}</a></b>! | <a onclick="javascript: showBusyLayer()" href="{$link_logout}"><b>Exit</b></a></h4>
        </div>
        <hr>
        <ul class="navs">
    HTML;
    
    if ($user_group[$member_id['user_group']]['allow_admin']) {
    $login_panel .= <<<HTML
            
            <li><a href="{$adminlink}" target="_blank">Administration section</a></li>
    HTML;
    }
    
    $login_panel .= <<<HTML
            
            <li><a href="{$link_profile}">My Profile</a></li>
            <li><a href="{$link_favorites}">Favorite files</a></li>
        <li><a href="{$link_addnews}"> Add news</a></li>
            <li><a href="{$link_stats}">Statistics</a></li>
            <li><a href="{$link_pm}">Messages ({$member_id['pm_unread']} | {$member_id['pm_all']})</a></li>
            <li><a href="{$link_newposts}">Unread</a></li>
        </ul>
        &nbsp;
    HTML;
    
    } else {
    $login_panel = <<<HTML
    
                                            <center>
                                                I do not know!<br /><a href="{$link_regist}" title="Sign">Sign</a>, Log in or under your login!
                                            </center>
                                            <hr />
                                            <div class="loginbox">
                                                <form name="loginForm" method="post" onsubmit="javascript:showBusyLayer()" action="">
                                                    <div>
                                                        <span>Login:</span>
                                                        <div><input class="f_input" style="width: 120px;" type="text" name="login_name" /></div>
                                                        <div class="clr"></div>
                                                    </div>
                                                    <div>
                                                        <span>Password:</span>
                                                        <div><input class="f_input" style="width: 120px;" type="password" name="login_password" /></div>
                                                        <div class="clr"></div>
                                                    </div>
                                                    <a href="javascript:document.loginForm.submit();" class="btn">Login</a>
                                                    <input name="login" type="hidden" id="login" value="submit" />
                                                </form>
                                            </div>
                                            <hr />
                                            <center>
                                                If you forgot your password, go through <a href="{$link_lost}" title="form of return password">form of return password</a>!
                                            </center>
    
    HTML;
    }
    ?>
    Regards
    sSKKa Reviewed by sSKKa on . [HELP] Having Problem With DLE Template Hi look below i have problem with login box in dle template please fix it if you can or guide me how can i do it http://vvcap.net/db/pGUi90J7szlpux2kBpNo.png Login.tpl <?php Rating: 5
    Wanna Link Exchange With PR4 ? Your Site Must Be PR3
    PM ME

  2.   Sponsored Links

  3.     
    #2
    Member
    Code: 
    [not-group=5]
        
        <div class="loginboxdate">
            <h4><b>Hi, <a href="#">{login}</a></b>! | <a onclick="javascript: showBusyLayer()" href="{logout-link}"><b>Exit</b></a></h4>
        </div>
        <hr>
        <ul class="navs">
            
            [admin-link]<li><a href="{admin-link}" target="_blank">Administration section</a></li>[/admin-link]
            
            <li><a href="{profile-link}">My Profile</a></li>
            <li><a href="{favorites-link}">Favorite files</a></li>
        <li><a href="{addnews-link}"> Add news</a></li>
            <li><a href="{stats-link}">Statistics</a></li>
            <li><a href="{pm-link}">PM ({new-pm} | {all-pm})</a></li>
            <li><a href="?do=lastpost">Unread</a></li>
        </ul>
        &nbsp;
    [/not-group]
    [group=5]
    
                                            <center>
                                                I do not know!<br /><a href="{registration-link}" title="Sign">Sign</a>, Log in or under your login!
                                            </center>
                                            <hr />
                                            <div class="loginbox">
                                                <form name="loginForm" method="post" onsubmit="javascript:showBusyLayer()" action="">
                                                    <div>
                                                        <span>Login:</span>
                                                        <div><input class="f_input" style="width: 120px;" type="text" name="login_name" /></div>
                                                        <div class="clr"></div>
                                                    </div>
                                                    <div>
                                                        <span>Password:</span>
                                                        <div><input class="f_input" style="width: 120px;" type="password" name="login_password" /></div>
                                                        <div class="clr"></div>
                                                    </div>
                                                    <a href="javascript:document.loginForm.submit();" class="btn">Login</a>
                                                    <input name="login" type="hidden" id="login" value="submit" />
                                                </form>
                                            </div>
                                            <hr />
                                            <center>
                                                If you forgot your password, go through <a href="{lostpassword-link}" title="form of return password">form of return password</a>!
                                            </center>
    
    [/group]
    replace login
    Yahoo: Keosoft90 | ICQ : 570-630-903| MSN : keosoft90@hotmail.com | AIM : Keosoft90
    KWWH

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [HELP] Having Problem With DLE Template
    By softpk in forum Web Development Area
    Replies: 0
    Last Post: 14th Aug 2011, 08:41 PM
  2. Template problem please help
    By Spooky in forum vBulletin
    Replies: 1
    Last Post: 17th Jul 2011, 05:53 PM
  3. having problem with dle template
    By sSKKa in forum Technical Help Desk Support
    Replies: 4
    Last Post: 17th Feb 2011, 10:55 AM
  4. wordpress theme/template problem
    By Martijn in forum Technical Help Desk Support
    Replies: 0
    Last Post: 26th Oct 2009, 05:56 PM
  5. Problem with editing template
    By Maz in forum vBulletin
    Replies: 6
    Last Post: 16th Apr 2009, 04:30 PM

Tags for this Thread

BE SOCIAL