Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Code Help

Asked Modified Viewed 1,872 times
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
asked
Senior Member

I am trying to set up a login like the one in the Milkyway V7 theme. But I am running into a problem. When I click on login it directs me to Fusion_Self. is there another way to fix this. Here is the code.

<form name='login_form' method='post' action='".FUSION_SELF."' style='margin:0px;' >
0 replies

11 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Instead of that use this...

if (!preg_match('/login.php/i',FUSION_SELF)) {
      $action_url = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
      if (isset($_GET['redirect']) && strstr($_GET['redirect'], "/")) {
         $action_url = cleanurl(urldecode($_GET['redirect']));
      }


echo"<form name='login_form' method='post' action='".$action_url."' style='margin:0px;' >";
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

Maybe I should have added the entire code for that section. Here it is.

<div id='loginbox'>
   <div class='login-top'>
     <div align="right"><span class='login-orange style3'>Login</span><span class="style3">/Register</span>&nbsp;&nbsp;&middot;&nbsp;
          <span class='login-orange'><a href='http://oilregionbusiness.com/viewpage.php?page_id=8' class='mod_login_login style2'><b>Business</b></a>&nbsp;&nbsp;&middot;&nbsp;<span class="style2">&nbsp;</span><a href='http://oilregionbusiness.com/register.php' class='mod_login_login style2'><b>Non-Business</b></a><span class='login-orange'><span class="style2">&nbsp;</span>&nbsp;&middot;&nbsp;&nbsp;<a href='".BASEDIR."lostpassword.php' class='mod_login_login style2'>Lost Password?</a></span></div>
   </div>
   <div class='login-bottom'>
<form name='login_form' method='post' action='".FUSION_SELF."' style='margin:0px;' >
  <div align="right">Username 
    <input name='user_name' id='mod_login_username' type='text' class='inputbox_login' alt='username' size='10'  />
    Password 
  <input type='password' id='mod_login_password' name='user_pass' class='inputbox_login' size='10' alt='password' />
  <input type='hidden' name='remember_me' id='mod_login_remember' class='inputbox_login' value='y' alt='Remember Me' />
  <input type='submit' name='login' class='button_login' value='Login' />
  </div>
</form>


I have everything working great, just that login button.

I did try the code you gave me craig. It just showed the code on my webpage.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Just replace...

<form name='login_form' method='post' action='".FUSION_SELF."' style='margin:0px;' >


With the code I gave you above. ;)
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

I did. But here is my page so you can see what is happening.
http://elink2biz.com/home.php

It is showing the code on the page.

And it takes me to http://elink2biz.com/$action_url
Edited by Vyper69 on 27-10-2012 02:07,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Try this...


if (!preg_match('/login.php/i',FUSION_SELF)) {
      $action_url = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
      if (isset($_GET['redirect']) && strstr($_GET['redirect'], "/")) {
         $action_url = cleanurl(urldecode($_GET['redirect']));
      }
    
echo"<div id='loginbox'>
   <div class='login-top'>
     <div align='right'><span class='login-orange style3'>Login</span><span class='style3'>/Register</span>&nbsp;&nbsp;&middot;&nbsp;
          <span class='login-orange'><a href='http://oilregionbusiness.com/viewpage.php?page_id=8' class='mod_login_login style2'><b>Business</b></a>&nbsp;&nbsp;&middot;&nbsp;<span class='style2'>&nbsp;</span><a href='http://oilregionbusiness.com/register.php' class='mod_login_login style2'><b>Non-Business</b></a><span class='login-orange'><span class='style2'>&nbsp;</span>&nbsp;&middot;&nbsp;&nbsp;<a href=''.BASEDIR.'lostpassword.php' class='mod_login_login style2'>Lost Password?</a></span></div>
   </div>
   <div class='login-bottom'>
<form name='login_form' method='post' action='".$action_url."' style='margin:0px;' >
  <div align='right'>Username
    <input name='user_name' id='mod_login_username' type='text' class='inputbox_login' alt='username' size='10'  />
    Password
  <input type='password' id='mod_login_password' name='user_pass' class='inputbox_login' size='10' alt='password' />
  <input type='hidden' name='remember_me' id='mod_login_remember' class='inputbox_login' value='y' alt='Remember Me' />
  <input type='submit' name='login' class='button_login' value='Login' />
  </div>
</form>";
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

ok tried it, and still get the same issue. still code at top, and doesn't log me in. just goes to the action url
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

You need to give me the theme.php
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

Here it is

<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Developer: Brandon Davis (NetriX)
| Website: PHPFusionMods.com
|  _   _      _        ___  __
| | \ | | ___| |_ _ __(_) \/ /
| |  \| |/ _ \ __| '__| |\  /
| | |\  |  __/ |_| |  | |/  \
| |_| \_|\___|\__|_|  |_/_/\_\
|
| Do not remove the copyright footer without the developers
| consent. You may request the consent of removal by contacting
| me at the following email address: netrix@phpfusionmods.com
|
| Thank You,
| Brandon (NetriX)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

require_once INCLUDES."theme_functions_include.php";
define("THEME_BULLET", "");

function render_page($license = false) {
   global $settings, $main_style, $locale, $mysql_queries_time;

?>

<!-- Theme by NetriX @ PHPFusionMods.com -->
<!-- THEME: SimpleFusion -->
<style type="text/css">
<!--
.style2 {color: #FFFFFF}
.style3 {color: #FF9900}
-->
</style>


<table width="922px" align="center" cellspacing="0" cellpadding="0">
   <tr>
      <td>
         <!--HEADER-->
         <table width="922px" cellpadding="0" cellspacing="0" id="header">
            <tr>
               <td>
                  <?php echo showbanners(); ?>
               </td>
               <td>
if (!preg_match('/login.php/i',FUSION_SELF)) {
      $action_url = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
      if (isset($_GET['redirect']) && strstr($_GET['redirect'], "/")) {
         $action_url = cleanurl(urldecode($_GET['redirect']));
      }
     
echo"<div id='loginbox'>
   <div class='login-top'>
     <div align='right'><span class='login-orange style3'>Login</span><span class='style3'>/Register</span>&nbsp;&nbsp;&middot;&nbsp;
          <span class='login-orange'><a href='http://oilregionbusiness.com/viewpage.php?page_id=8' class='mod_login_login style2'><b>Business</b></a>&nbsp;&nbsp;&middot;&nbsp;<span class='style2'>&nbsp;</span><a href='http://oilregionbusiness.com/register.php' class='mod_login_login style2'><b>Non-Business</b></a><span class='login-orange'><span class='style2'>&nbsp;</span>&nbsp;&middot;&nbsp;&nbsp;<a href=''.BASEDIR.'lostpassword.php' class='mod_login_login style2'>Lost Password?</a></span></div>
   </div>
   <div class='login-bottom'>
<form name='login_form' method='post' action='".$action_url."' style='margin:0px;' >
  <div align='right'>Username
    <input name='user_name' id='mod_login_username' type='text' class='inputbox_login' alt='username' size='10'  />
    Password
  <input type='password' id='mod_login_password' name='user_pass' class='inputbox_login' size='10' alt='password' />
  <input type='hidden' name='remember_me' id='mod_login_remember' class='inputbox_login' value='y' alt='Remember Me' />
  <input type='submit' name='login' class='button_login' value='Login' />
  </div>
</form>";
   </div></div>
</div>
</div>
               </div>
               </td>
            </tr>
         </table>
         <!--NAVIGATION-->
         <table width="922px" cellpadding="0" cellspacing="0">
            <tr>
               <td class="tbl-nav">
               <?php echo showsublinks(" ".THEME_BULLET." ", "white"); ?>
               <div class="search">
               <form id="searchform" name="searchform" method="get" action="<?php echo BASEDIR; ?>search.php">
               <input type="text" size="20" name="stext" class="stext" />
               <input type="submit" name="search" value="Search" class="sbutton" />
               </form>
               </div>
               </td>
            </tr>
         </table>
<?php
include THEME."bannerrotator/bannerrotator.php";
?>
<!--BODY-->
<table width="922px" cellpadding="0" cellspacing="0">
<tr>
<td class="body-back">
  <!--PANELS-->
  </div>
  <table width="922px" cellpadding="0" cellspacing="0">
<tr>
<?php if (LEFT) { ?>
<!--LEFT-->
<td valign="top" class="c-td">
<?php echo U_CENTER.CONTENT.L_CENTER; ?>
</td>
<?php } ?>
<!--CENTER-->
<td valign="top" width="200px" class="s-l-td">
<?php echo LEFT; ?>
</td>
<?php if (RIGHT)  { ?>
<!--RIGHT-->
<td valign="top" width="174px" class="s-r-td">
<?php echo RIGHT; ?>
</td>
<?php } ?>
</tr>
</table>
<!--PANELS END-->
</td>
</tr>
</table>
<!--FOOTER-->
<table width="922px" cellpadding="0" cellspacing="0">
   <tr>
      <td id="footer">
      <div style="text-align:center">
<?php echo stripslashes($settings['footer']); ?><br /><br />
<?php if (!$license) { echo showcopyright()."<br /><br />"; } ?>
<a href='http://www.phpfusionmods.com' title='PHPFusionMods.com'>Theme: SimpleFusion by NetriX</a>
</div>
      </td>
   </tr>
</table>
         <!--FOOTER END -->
      </td>
   </tr>
</table>
<?php   

}

function render_news($subject, $news, $info) {
?>
<table width="100%" cellpadding="0" cellspacing="0" align="center" class="panel">
<tr>
<td class="c-left"></td><td class="c-center"><?php echo $subject; ?><div class="newsright"><?php echo newsopts($info,"&middot; "); ?></div></td><td class="c-right"></td>
</tr>
<tr>
<td class="c-body" colspan="3">
<div style="float:left; margin:3px;"><?php echo $info['cat_image']; ?></div>
<?php echo $news; ?>
</td>
</tr>
<tr>
<td class="c-foot-l"></td><td class="c-foot-c"></td><td class="c-foot-r"></td>
</tr>
</table>
<?php
}

function render_article($subject, $article, $info) {

?>
<table width="100%" cellpadding="0" cellspacing="0" align="center" class="panel">
<tr>
<td class="c-left"></td><td class="c-center"><?php echo $subject; ?></td><td class="c-right"></td>
</tr>
<tr>
<td class="c-body" colspan="3">
<div style="float:left; margin:3px;"><?php echo $info['cat_image']; ?></div>
<?php echo ($info['article_breaks'] == "y" ? nl2br($article) : $article); ?><br /><br />
<div style="text-align:center;">
<?php echo articleposter($info," &middot;").articlecat($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']); ?>
</div>
</td>
</tr>
<tr>
<td class="c-foot-l"></td><td class="c-foot-c"></td><td class="c-foot-r"></td>
</tr>
</table>
<?php

}

function render_comments($c_data, $c_info){

   global $locale;
   opentable($locale['c100']);
   if (!empty($c_data)){
      echo "<div class='comments floatfix'>\n";
         $c_makepagenav = '';
         if ($c_info['c_makepagenav'] !== FALSE) {
         echo $c_makepagenav = "<div style='text-align:center;margin-bottom:5px;'>".$c_info['c_makepagenav']."</div>\n";
      }
         foreach($c_data as $data) {
         echo "<div class='tbl2'>\n";
         if ($data['edit_dell'] !== FALSE) {
            echo "<div style='float:right' class='comment_actions'>".$data['edit_dell']."\n</div>\n";
         }
         echo "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$data['i']."</a> |\n";
         echo "<span class='comment-name'>".$data['comment_name']."</span>\n";
         echo "<span class='small'>".$data['comment_datestamp']."</span>\n";
         echo "</div>\n<div class='tbl1 comment_message'>".$data['comment_message']."</div>\n";
      }
      echo $c_makepagenav;
      if ($c_info['admin_link'] !== FALSE) {
         echo "<div style='float:right' class='comment_admin'>".$c_info['admin_link']."</div>\n";
      }
      echo "</div>\n";
   } else {
      echo $locale['c101']."\n";
   }
   closetable();
   
}

function opentable($title) {

?>
<!--SIDE PANEL START-->
<table width="100%" cellpadding="0" cellspacing="0" align="center" class="panel">
<tr>
<td class="c-left"></td><td class="c-center"><?php echo $title; ?></td><td class="c-right"></td>
</tr>
<tr>
<td class="c-body" colspan="3">
         <?php

}

function closetable() {

?>
</td>
</tr>
<tr>
<td class="c-foot-l"></td><td class="c-foot-c"></td><td class="c-foot-r"></td>
</tr>
</table>
<!--SIDE PANEL END-->
         <?php

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
?>
<!--SIDE PANEL START-->
<table width="174px" cellpadding="0" cellspacing="0" class="panel">
<tr>
<td class="s-top"><?php echo $title; ?></td>
</tr>
<tr>
<td class="s-body">
<?php

}

function closeside() {
   
   global $panel_collapse;

?>
</td>
</tr>
<tr>
<td class="s-foot"></td>
</tr>
</table>
<!--SIDE PANEL END-->
         <?php

}
?>
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Try this...

<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Developer: Brandon Davis (NetriX)
| Website: PHPFusionMods.com
|  _   _      _        ___  __
| | \ | | ___| |_ _ __(_) \/ /
| |  \| |/ _ \ __| '__| |\  /
| | |\  |  __/ |_| |  | |/  \
| |_| \_|\___|\__|_|  |_/_/\_\
|
| Do not remove the copyright footer without the developers
| consent. You may request the consent of removal by contacting
| me at the following email address:
|
| Thank You,
| Brandon (NetriX)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

require_once INCLUDES."theme_functions_include.php";
define("THEME_BULLET", "");

function render_page($license = false) {
   global $settings, $main_style, $locale, $mysql_queries_time;

?>

<!-- Theme by NetriX @ PHPFusionMods.com -->
<!-- THEME: SimpleFusion -->
<style type="text/css">
<!--
.style2 {color: #FFFFFF}
.style3 {color: #FF9900}
-->
</style>


<table width="922px" align="center" cellspacing="0" cellpadding="0">
   <tr>
      <td>
         <!--HEADER-->
         <table width="922px" cellpadding="0" cellspacing="0" id="header">
            <tr>
               <td>
                  <?php echo showbanners(); ?>
               </td>
               <td><?php
if (!preg_match('/login.php/i',FUSION_SELF)) {
      $action_url = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
      if (isset($_GET['redirect']) && strstr($_GET['redirect'], "/")) {
         $action_url = cleanurl(urldecode($_GET['redirect']));
      }
   
echo"<div id='loginbox'>
   <div class='login-top'>
     <div align='right'><span class='login-orange style3'>Login</span><span class='style3'>/Register</span>&nbsp;&nbsp;&middot;&nbsp;
          <span class='login-orange'><a href='http://oilregionbusiness.com/viewpage.php?page_id=8' class='mod_login_login style2'><b>Business</b></a>&nbsp;&nbsp;&middot;&nbsp;<span class='style2'>&nbsp;</span><a href='http://oilregionbusiness.com/register.php' class='mod_login_login style2'><b>Non-Business</b></a><span class='login-orange'><span class='style2'>&nbsp;</span>&nbsp;&middot;&nbsp;&nbsp;<a href=''.BASEDIR.'lostpassword.php' class='mod_login_login style2'>Lost Password?</a></span></div>
   </div>
   <div class='login-bottom'>
<form name='login_form' method='post' action='".$action_url."' style='margin:0px;' >
  <div align='right'>Username
    <input name='user_name' id='mod_login_username' type='text' class='inputbox_login' alt='username' size='10'  />
    Password
  <input type='password' id='mod_login_password' name='user_pass' class='inputbox_login' size='10' alt='password' />
  <input type='hidden' name='remember_me' id='mod_login_remember' class='inputbox_login' value='y' alt='Remember Me' />
  <input type='submit' name='login' class='button_login' value='Login' />
  </div>
</form>";
 ?>
   </div></div>
</div>
</div>
               </div>
               </td>
            </tr>
         </table>
         <!--NAVIGATION-->
         <table width="922px" cellpadding="0" cellspacing="0">
            <tr>
               <td class="tbl-nav">
               <?php echo showsublinks(" ".THEME_BULLET." ", "white"); ?>
               <div class="search">
               <form id="searchform" name="searchform" method="get" action="<?php echo BASEDIR; ?>search.php">
               <input type="text" size="20" name="stext" class="stext" />
               <input type="submit" name="search" value="Search" class="sbutton" />
               </form>
               </div>
               </td>
            </tr>
         </table>
<?php
include THEME."bannerrotator/bannerrotator.php";
?>
<!--BODY-->
<table width="922px" cellpadding="0" cellspacing="0">
<tr>
<td class="body-back">
  <!--PANELS-->
  </div>
  <table width="922px" cellpadding="0" cellspacing="0">
<tr>
<?php if (LEFT) { ?>
<!--LEFT-->
<td valign="top" class="c-td">
<?php echo U_CENTER.CONTENT.L_CENTER; ?>
</td>
<?php } ?>
<!--CENTER-->
<td valign="top" width="200px" class="s-l-td">
<?php echo LEFT; ?>
</td>
<?php if (RIGHT)  { ?>
<!--RIGHT-->
<td valign="top" width="174px" class="s-r-td">
<?php echo RIGHT; ?>
</td>
<?php } ?>
</tr>
</table>
<!--PANELS END-->
</td>
</tr>
</table>
<!--FOOTER-->
<table width="922px" cellpadding="0" cellspacing="0">
   <tr>
      <td id="footer">
      <div style="text-align:center">
<?php echo stripslashes($settings['footer']); ?><br /><br />
<?php if (!$license) { echo showcopyright()."<br /><br />"; } ?>
<a href='http://www.phpfusionmods.com' title='PHPFusionMods.com'>Theme: SimpleFusion by NetriX</a>
</div>
      </td>
   </tr>
</table>
         <!--FOOTER END -->
      </td>
   </tr>
</table>
<?php   

}

function render_news($subject, $news, $info) {
?>
<table width="100%" cellpadding="0" cellspacing="0" align="center" class="panel">
<tr>
<td class="c-left"></td><td class="c-center"><?php echo $subject; ?><div class="newsright"><?php echo newsopts($info,"&middot; "); ?></div></td><td class="c-right"></td>
</tr>
<tr>
<td class="c-body" colspan="3">
<div style="float:left; margin:3px;"><?php echo $info['cat_image']; ?></div>
<?php echo $news; ?>
</td>
</tr>
<tr>
<td class="c-foot-l"></td><td class="c-foot-c"></td><td class="c-foot-r"></td>
</tr>
</table>
<?php
}

function render_article($subject, $article, $info) {

?>
<table width="100%" cellpadding="0" cellspacing="0" align="center" class="panel">
<tr>
<td class="c-left"></td><td class="c-center"><?php echo $subject; ?></td><td class="c-right"></td>
</tr>
<tr>
<td class="c-body" colspan="3">
<div style="float:left; margin:3px;"><?php echo $info['cat_image']; ?></div>
<?php echo ($info['article_breaks'] == "y" ? nl2br($article) : $article); ?><br /><br />
<div style="text-align:center;">
<?php echo articleposter($info," &middot;").articlecat($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']); ?>
</div>
</td>
</tr>
<tr>
<td class="c-foot-l"></td><td class="c-foot-c"></td><td class="c-foot-r"></td>
</tr>
</table>
<?php

}

function render_comments($c_data, $c_info){

   global $locale;
   opentable($locale['c100']);
   if (!empty($c_data)){
      echo "<div class='comments floatfix'>\n";
         $c_makepagenav = '';
         if ($c_info['c_makepagenav'] !== FALSE) {
         echo $c_makepagenav = "<div style='text-align:center;margin-bottom:5px;'>".$c_info['c_makepagenav']."</div>\n";
      }
         foreach($c_data as $data) {
         echo "<div class='tbl2'>\n";
         if ($data['edit_dell'] !== FALSE) {
            echo "<div style='float:right' class='comment_actions'>".$data['edit_dell']."\n</div>\n";
         }
         echo "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$data['i']."</a> |\n";
         echo "<span class='comment-name'>".$data['comment_name']."</span>\n";
         echo "<span class='small'>".$data['comment_datestamp']."</span>\n";
         echo "</div>\n<div class='tbl1 comment_message'>".$data['comment_message']."</div>\n";
      }
      echo $c_makepagenav;
      if ($c_info['admin_link'] !== FALSE) {
         echo "<div style='float:right' class='comment_admin'>".$c_info['admin_link']."</div>\n";
      }
      echo "</div>\n";
   } else {
      echo $locale['c101']."\n";
   }
   closetable();
   
}

function opentable($title) {

?>
<!--SIDE PANEL START-->
<table width="100%" cellpadding="0" cellspacing="0" align="center" class="panel">
<tr>
<td class="c-left"></td><td class="c-center"><?php echo $title; ?></td><td class="c-right"></td>
</tr>
<tr>
<td class="c-body" colspan="3">
         <?php

}

function closetable() {

?>
</td>
</tr>
<tr>
<td class="c-foot-l"></td><td class="c-foot-c"></td><td class="c-foot-r"></td>
</tr>
</table>
<!--SIDE PANEL END-->
         <?php

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
?>
<!--SIDE PANEL START-->
<table width="174px" cellpadding="0" cellspacing="0" class="panel">
<tr>
<td class="s-top"><?php echo $title; ?></td>
</tr>
<tr>
<td class="s-body">
<?php

}

function closeside() {
   
   global $panel_collapse;

?>
</td>
</tr>
<tr>
<td class="s-foot"></td>
</tr>
</table>
<!--SIDE PANEL END-->
         <?php

}
?>
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

Sorry trying to piece things together. It is kind of hard to get the theme that I want, and how I would like it set up. This is the Simple Fusion theme. Actually where the login is is where there should be adds, but could never get the them to play nice. Also this bit of code

global $aidlink;
if (iADMIN) { echo " <a href='".ADMIN."index.php".$aidlink."' class='side'>Admin</a>\n"; }   
echo "<div id='container' align='center'>
   <div id='wrapper' class='wrapper'>
   <div id='header'>
   <div id='topmenu'><a href='http://oilregionbusiness.com/edit_profile.php'>Edit Profile</a> | <a href='http://oilregionbusiness.com/messages.php'>Private Message</a> | <a href='http://oilregionbusiness.com/members.php'>Members List</a> | <a href='".ADMIN."index.php".$aidlink."' class='side'>Admin</a> | <a href='http://oilregionbusiness.com/index.php?logout=yes'>Logout</a>
</div>";


Is off the Milkyway theme, and should be top right, but then again. I am trying and failing. The only thing I accomplished was adding in the Rotating banner.

Trying to mimic this theme http://www.hayaletsevgili.com/anasayf...asayfa.php somewhat is very hard, but when you want something similar u try i guess.

I will do a theme in html, and see if anyone wants to play with it to make it for fusion.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Just Use [Simple Header Login] it's ready and easy to use. :G
0 replies

Category Forum

Themes Support

Labels

None yet

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
V
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet