Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › move login box from the left to the right of my web.help
New Posts  All Forums:Forum Nav:

move login box from the left to the right of my web.help

post #1 of 13
Thread Starter 
hello the original website is 'http://www.buddysauctions.com/ and when u scroll down you can see that the "Member Login" box is on the left. I wanna move it to the right like me photoshop print screen

i know that i have to cut the php code from my php file and create a new php file and put it in but i dont know how to put it exactly where my printscreen shows.
thanks a lot for your interest i hope you can help me )
thanks again

edit: i also would like to have some empty boxed under the member login so i can put adverts in them


edit2:

my index.php

Code:

 <?php

include_once "myconnect.php";
include_once "left_cats.php";
function main()
{
/// AUTO RELISTING ////////

$config=mysql_fetch_array(mysql_query("select * from clone2009_config"));
$auction_period=$config["max_period"];
$rs_query=mysql_query("Select *,UNIX_TIMESTAMP(date_submitted) as t,DATE_ADD(date_submitted,INTERVAL auction_period DAY) as t1  from clone2009_products");
while($rst=mysql_fetch_array($rs_query))

if($rst["aucid"]==3)
{
$num=mysql_num_rows(mysql_query("select * from clone2009_purchased where pid=".$rst["id"]));
}
else
{
$num=mysql_num_rows(mysql_query("select * from clone2009_bids where pid=".$rst["id"]));
}
$date1=date("Y-m-d his",time());
    if(($rst["t1"]==$date1) && ($rst["auto_list"]>$rst["done"]) && ($rst["status"]=='open') && ($num==0))
    {
    mysql_query("update clone2009_products set auction_period=auction_period+$auction_period, done=done+1");
    }
}
/////////////  AUTO RELISTED ///////////////


/////////////getting null char
    $null_char=mysql_fetch_array(mysql_query("select null_char from clone2009_config"));
$config=mysql_fetch_array(mysql_query("select * from clone2009_config"));
$cur=mysql_fetch_array(mysql_query("select * from clone2009_currency where id=".$config["cur_id"]));
    
$sql="select *,UNIX_TIMESTAMP(date_submitted) as t,DATE_FORMAT(DATE_ADD(date_submitted,INTERVAL auction_period DAY),'%D %b,%Y') as endson from clone2009_products where approved='yes' and fp_featured='yes'";
$sql.=" and DATE_ADD(date_submitted,INTERVAL auction_period DAY) > NOW() and status='open' order by id desc";
//echo $sql;
$rs_query=mysql_query($sql);

?>
<table width="50%" border="0" cellpadding="0" cellspacing="0" dwcopytype="CopyTableCell">
  <tr> 
    <td width="100" valign="top"

<p>

    <table width="262" border="0" cellpadding="0" cellspacing="0" bordercolor="#0099FF">
        <tr> 
        <td height="35"  background="http://www.overclock.net/images/bgyell2.gif" class="sideheadingtd" > <div align="left"><strong>&nbsp;<font size="3" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;<font color="#ffffff">Cool for you</font></strong>
              
          </font></span> </strong></div></td>
     

<right><HTML>
<HEAD>




<TITLE>Advertiser on eMakretCy</TITLE>

<link rel="shortcut icon" href="favicon.ico" >

</HEAD><p><table width="98%" border="0" align="right" cellpadding="0" cellspacing="0">

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-8729850-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>






<center><a href="advertisers/signinform.php"target=_blank"><font color="#99999" size="1" font type="verdana"></a></font></center>





&nbsp;
      <?php left(0); ?>


    </td>
    <td valign="top"> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        
        </tr>
        
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td> 
                  <table width="75%" border="0" cellspacing="0" cellpadding="2">
                    <tr> 
                      <td height="35" valign="left" background="http://www.overclock.net/images/bgyell2.gif"> 
                     <div align="left">&nbsp;&nbsp;<img src="http://www.overclock.net/images/squareswhite.gif" width="10" height="12" align="absbottom">&nbsp;&nbsp;<font color="#FFFFFF" size="3" face="Arial, Helvetica, sans-serif"><strong>&nbsp;<font color="#ffffff">Welcome to Auction Site</font></strong></font>  </div></td>
                    
                    
                    
                    
                    
                    
                    </tr>
                    
                    
                    <tr> 
                      <td bgcolor="#EDF2FF"><div align="justify"><font class="main" color="#003366" size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
                          <?php 
                $config=mysql_fetch_array(mysql_query("select welcome_msg from clone2009_config"));
                echo str_replace("\
","<br>",$config[""]);?>

<div class="hprcp_mid">
                                    <div class="hprcp_mide">
                                        <div>
                                            <div>
                                                <div class="body">
                                                    <img height="79" src="http://www.overclock.net/images/welcom.gif" width="622" border="0" usemap="#imgCCHPMeBAAGSignedOut"><map id="imgCCHPMeBAAGSignedOut" name="imgCCHPMeBAAGSignedOut"><area shape="RECT" alt="" coords="97,45,212,75" href="signinform.php"><area shape="RECT" alt="" coords="447,45,565,76" href="/signup.php"><area noHref="nohref" shape="RECT" alt="" coords="0,0,0,0"></map></div>
                                            </div>
                                        </div>


                      </font></div></td>
                    </tr>
                    
                  </table>

                  
                  
                 sdsad
                  
                  
                  
                  
<p><table border="0" bordercolor="#CCCCC"><td> <table width="100%" border="1" cellpadding="0" cellspacing="0" >

        <tr> 
          <td height="35" background="http://www.overclock.net/images/bgyell2.gif" class="sideheadingtd" > <div align="left"><strong>&nbsp;<font size="3" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;<font color="#ffffff">Check our Partners</font></strong>
              
          </font></span> </strong></div></td>
        </tr>
        
        
        
        
        
        
<tr>
<td>
</script><table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#0099FF">
        <tr> 
          <td height="35"> <div align="left">



</CENTER>


</body>
</html>

 </center>
</td>

<tr>

</tr>
</table><img src="http://www.overclock.net/images/banner1.jpg "> 



                  <font color="#003366" size="2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp; 
                  </font></td>
              </tr>
            </table></td>
        </tr>
       
        <tr> 
          <td><table width="100%" border="0" cellspacing="1" cellpadding="2">
              <tr> 
                <td height="35" colspan="2" background="http://www.overclock.net/images/bgyell.gif"><strong><font color="#ffffff" size="2" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;<img src="http://www.overclock.net/images/squareswhite.gif" width="10" height="12" align="absbottom">&nbsp;<font color="#ffffff" size="2" face="Arial, Helvetica, sans-serif"><strong>&nbsp;</strong></font>Featured 
                  Items </font></strong></td>
                <td width="13%" height="35" align="center" background="http://www.overclock.net/images/bgyell.gif" bgcolor="#2989ED"><strong><font color="#ffffff" size="2" face="Arial, Helvetica, sans-serif"> 
                  Price</font></strong></td>
                <td width="17%" height="35" align="center" background="http://www.overclock.net/images/bgyell.gif" bgcolor="#2989ED"><strong><font color="#ffffff" size="2" face="Arial, Helvetica, sans-serif"> 
                  Bids/ Purchases</font></strong></td>
                <td width="18%" height="35" align="center" background="http://www.overclock.net/images/bgyell.gif" bgcolor="#2989ED"><strong><font color="#ffffff" size="2" face="Arial, Helvetica, sans-serif"> 
                  Ends</font></strong></td>
                  
                  
              </tr>
              <?php
                  $cnt=0;
                $num_rows=mysql_num_rows($rs_query);
                $no_featured=mysql_fetch_array(mysql_query("select featured_items from clone2009_config"));
                $max_allowed=$no_featured["featured_items"];
                $number[0]=-1;
                if($num_rows>$max_allowed)
                {
                    for($i=0;$i<$max_allowed;$i++)
                    {
                        $unique=0;
                        while($unique==0)
                        {
                            $j=rand(0,$num_rows-1);
                            for($k=0;$k<count($number);$k++)
                            {
                                //echo $j;
                                if($number[$k]==$j)
                                break;
                            }
                            if($k>(count($number)-1))
                            {
                            $unique=1;
                            }
                        }
                        $number[$i]=$j;
                        
                    }
                }// end if num > no_allowed
                /*for($k=0;$k<count($number);$k++)
                            {
                                echo $number[$k]." ";
                            }*/
                            $row=0;
                while (($rs0=mysql_fetch_array($rs_query))&&($cnt<$max_allowed))
                { 
                
                $display=0;
                if($num_rows>$max_allowed)
                {
                for($k=0;$k<count($number);$k++)
                {
                if($number[$k]==$row)
                {
                    $display=1;
                }
                }
                }
                else
                {
                $display=1;
                }
                if($display==1)
                {
                 ?>
              <tr bgcolor="#<?php if($cnt%2<>0){echo "EEEEEE"; }else{echo "F2F2F2";}?>"> 
                <td width="15%" height="40" align="center" valign="middle"  > 
                  <?php $rs_t0=mysql_fetch_array(mysql_query("select * from clone2009_images where pid=".$rs0["id"]." group by pid")); 
                  if($rs_t0)
                  {
                  ?>
                  <img src="uploadedimages/<?php echo $rs_t0["url"];?>" height="85" width="110"> 
                  <?php } ?>
                </td>
                <td width="46%" ><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="product_desc.php?id=<?php echo $rs0["id"]?>" class="insidelink"><?php echo $rs0["product_name"];?></a> 
                  <font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif"> 
                  <?php if($rs0["aucid"]==1) ;//echo "Auction";
              if($rs0["aucid"]==2) echo "<img src=images/dutchicon.gif>";//"Dutch";
              if($rs0["aucid"]==3) echo "<img src=images/fixedpriceicon.gif>";//"Fixed";
              if($rs0["aucid"]==4) echo "<img src=images/classifiedicon.gif>";//"Classified";
              ?>
                  </font></font></td>
                <td align="center" ><font color="#003366" size="3" face="Verdana, Arial, Helvetica, sans-serif"> 
                  <?php                       
                      echo $cur["cur_name"];
                      
                      $rs_query0=mysql_query("select * from clone2009_bids where pid=".$rs0["id"]." order by amount desc");
                      $num_bids=mysql_num_rows($rs_query0);
    
//////////////////////////////////////////////////////////    
$max_bid=0;
$ever_max="";

if($num_bids>1)
{
    $rst0=mysql_fetch_array($rs_query0);
    $ever_max=$rst0["amount"];
    $rst0=mysql_fetch_array($rs_query0);
    $max_bid=$rst0["amount"];
}
elseif($num_bids>0)
{
    $rst0=mysql_fetch_array($rs_query0);
    $ever_max=$rst0["amount"];
    $max_bid=$rs0["min_bid"];
}


if($max_bid==0)
{
    $min_bid=$rs0["min_bid"];
    $curr_bid=$min_bid;
}else
{
    if($num_bids<=1)
        {
            $curr_bid=$max_bid;
        }
    else
    {    
        if($ever_max>$max_bid+$rs0["bid_inc"])
        {
        $curr_bid=$max_bid+$rs0["bid_inc"];
        }
        else
        {
        $curr_bid=$ever_max;
        }
    }
    
    $min_bid=$curr_bid+$rs0["bid_inc"];
}
//////////////////////////////////////////
                          printf("%.2f",$curr_bid);
                      ?>
                  </font></td>
                <td align="center" ><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif"> 
                  <?php 
                         if($rs0["aucid"]==3)
                         {
                         $num=mysql_num_rows(mysql_query("select * from clone2009_purchased where pid=".$rs0["id"]));
                         }
                         else
                         {
                         $num=mysql_num_rows(mysql_query("select * from clone2009_bids where pid=".$rs0["id"]));
                        
                         }
                        if($num<=0)
                        echo $null_char[0];
                        else
                        echo $num;
                        ?>
                  </font> </td>
                <td align="center"><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif"> 
                  <?php 
                echo $rs0["endson"];
                ?>
                  </font> </td>
                
              </tr>
              <?php
              $cnt++;
              }//display
              $row++;
              }// end while
              ?>
              <tr> 
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td align="center" valign="top">&nbsp;</td>
                <td align="center" valign="top"><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif">&nbsp; 
                  </font></td>
                <td align="center" valign="top">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
        </tr>
      
          <td align="center"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
              
                <td height="35" colspan=3 background="http://www.overclock.net/images/bgyell.gif"><strong><font color="#ffffff" size="2" face="Arial, Helvetica, sans-serif"> 
                  &nbsp;&nbsp;<img src="http://www.overclock.net/images/squareswhite.gif" width="10" height="12" align="absbottom">&nbsp;&nbsp;Gallery 
                  of Featured Items </font></strong></td>
              </tr>
              <tr align="center" bgcolor="#EEEEEE">
                <td> <table width="100%" height="105" border="0" align="center" cellpadding="1" cellspacing="1">
                    <?php
                  $cnt=0;
                $num=0;
                $rs_query=mysql_query($sql);
                $allowed=mysql_fetch_array(mysql_query("select fp_images from clone2009_config"));
                $sql="select * from clone2009_images,clone2009_products where approved='yes' and fp_featured='yes'";
$date1=date(time());
$sql.="and UNIX_TIMESTAMP(DATE_ADD(date_submitted,INTERVAL auction_period DAY)) > $date1 and status='open' and clone2009_images.pid=clone2009_products.id group by clone2009_images.pid order by clone2009_products.id desc";
                $rs_query=mysql_query($sql);
                $num_rows=mysql_num_rows($rs_query);
                $max_allowed=$allowed["fp_images"];
                $number_images[0]=-1;
                if($num_rows>$max_allowed)
                {
                    for($i=0;$i<$max_allowed;$i++)
                    {
                        $unique=0;
                        while($unique==0)
                        {
                            $j=mt_rand(0,($num_rows-1));
                            
                            for($k=0;$k<count($number_images);$k++)
                            {
                                //echo $j;
                                if($number_images[$k]==$j)
                                break;
                            }
                            
                            if($k>(count($number_images)-1))
                            {
                            $unique=1;
                            }
                        }
                        $number_images[$i]=$j;
                        
                    }
                }// end if num > no_allowed
                /*for($k=0;$k<count($number_images);$k++)
                            {
                                echo $number_images[$k]." ";
                            }
                    */    
                $row=0;
                $num=0;
                $cnt=0;
                $rs0=mysql_fetch_array($rs_query);
                while (($rs0)&&($num<$max_allowed))
                { 
                
                $display=0;
                if($num_rows>$max_allowed)
                {
                    for($k=0;$k<count($number_images);$k++)
                    {
                        if($number_images[$k]==$cnt)
                        {
                            $display=1;
                        }
                    }
                }
                else
                {
                    $display=1;
                }
                if($display==1)
                {
                
                 $num++;
                 if($num%3==1)
                {
                    $row++;
                    
                 ?>
                    <tr > 
                      <?php
                    }
                    ?>
                      <td align="center" valign="middle"> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF">
                          <tr> 
                            <td align="center" valign="middle"><a href="product_desc.php?id=<?php echo $rs0["id"];?>" class="insidelink"><img height="150" width="180" src="uploadedimages/<?php echo $rs0["url"];?>" border="0"></a></td>
                          </tr>
                          <tr> 
                            <td width=100% align="center" bgcolor="#FFFFFF"><a href="product_desc.php?id=<?php echo $rs0["id"];?>" class="insidelink"><?php echo $rs0["product_name"];?></a><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
                              <?php 
                      echo "(".$cur["cur_name"];
                          $rs_query0=mysql_query("select * from clone2009_bids where pid=".$rs0["id"]." order by amount desc");
                      $num_bids=mysql_num_rows($rs_query0);
                                      
//////////////////////////////////////////////////////////    
$max_bid=0;
$ever_max="";

if($num_bids>1)
{
    $rst0=mysql_fetch_array($rs_query0);
    $ever_max=$rst0["amount"];
    $rst0=mysql_fetch_array($rs_query0);
    $max_bid=$rst0["amount"];
}
elseif($num_bids>0)
{
    $rst0=mysql_fetch_array($rs_query0);
    $ever_max=$rst0["amount"];
    $max_bid=$rs0["min_bid"];
}


if($max_bid==0)
{
    $min_bid=$rs0["min_bid"];
    $curr_bid=$min_bid;
}else
{
    if($num_bids<=1)
        {
            $curr_bid=$max_bid;
        }
    else
    {    
        if($ever_max>$max_bid+$rs0["bid_inc"])
        {
        $curr_bid=$max_bid+$rs0["bid_inc"];
        }
        else
        {
        $curr_bid=$ever_max;
        }
    }
    
    $min_bid=$curr_bid+$rs0["bid_inc"];
}
//////////////////////////////////////////
                          printf("%.2f",$curr_bid);
                      
                      echo ")";?>
                              </font></td>
                          </tr>
                        </table></td>
                      <?php
                  
                }
                $rs0=mysql_fetch_array($rs_query);
                if(!($rs0)||($num>=$max_allowed))
                {
                $blankpad=(($row*3)-$num)%3;
                
                while($blankpad>0)
                 {
                 
                 ?>
                      <td><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF">
                          <tr align="center" valign="middle"> 
                            <td><img src="http://www.overclock.net/images/spacer.gif" width="100" height="100" border=0></td>
                          </tr>
                          <tr> 
                            <td><font size="2">&nbsp;</font></td>
                          </tr>
                        </table></td>
                      <?php
                 $blankpad--;}
                 }
                    if($num%3==0)
                    {
                    ?>
                    </tr>
                    <?php
                  }
            
    
          $cnt=$cnt+1;

            }//while
            $cnt=0;
            ?>
                  </table></td>
              </tr>
            </table> <tr> 
          <td align="center"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
              <tr> 
                <td height="35" colspan=3 background="http://www.overclock.net/images/bgfe1.gif"><strong><font color="#FFFFFF" size="4" face="Arial, Helvetica, sans-serif"> 
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif"><strong>&nbsp;</strong></font>Sell Everything with us! </font></strong></td>
              </tr></td>
        </tr>
      </table>    





    </td>
  </tr>
</table>
<?php
}// end main
?>
<?php
include_once "template.php";
?>



my member login box as you can see in the printscreen

Code:



<tr> 
    <td><FORM name=loginForm  action="login.php"
      method=post>
        <div align="center"></div>
        <table width="262" border=0 align=center cellpadding=5 cellspacing=0>
          <tbody>
            <tr valign=center> 
              <?php if(!isset($_SESSION["userid"])) 
              {
              ?>
              <td colspan="2" background="http://www.overclock.net/images/bgyell2.gif"  class="sideheadingtd" ><strong><img src="http://www.overclock.net/images/squareswhite.gif" width="10" height="12" align="absmiddle">&nbsp;&nbsp;<font size="2" face="Arial, Helvetica, sans-serif" font color="#ffffff">Member 
                Login</font></strong></td>
            </tr>
            <tr valign=center> 
              <td bgcolor="#f5f5f5"> 
              <div align=right><font color="#000000" size="1"><strong><font face="Verdana, Arial, Helvetica, sans-serif">Username</font></strong></font></div></td>
              <td width="97" bgcolor="#f5f5f5"><font color="#000000"> 
                <input  name=UserName  class="box1" size="13">
              </font></td>
            </tr>
            <tr valign=center> 
              <td bgcolor="#f5f5f5"> 
              <div align=right><font color="#000000" size="1"><strong><font face="Verdana, Arial, Helvetica, sans-serif">Password</font></strong></font></div></td>
              <td bgcolor="#f5f5f5"><font color="#000000"> 
                <input name=Password  type=password  class="box1" size="13">
              </font></td>
            </tr>
            <tr align=right> 
              <td 
        colspan=2 bgcolor="#f5f5f5"> 
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td width="67%"><p class="style2"><a  class="insidelink"  href="signup.php">:: Signup 
                        Now::</a><br>
                        <a class="insidelink" href="lostpassword.php">:: Lost Password ::</a></p></td>
                    <td width="33%"> <div align="left"> <font color="#000000"> 
                        <input type="submit" name="Submit" value="Sign In" class="btn">
                        </font></div></td>
                  </tr>
              </table></td>
              <?php }?>
            </tr>
            <tr align=right> 
              <td colspan=2>&nbsp; </td>
            </tr>
          </tbody>
        </table>
        <div align="center"></div>
      </FORM></td>
  </tr>

Edited by lenis1990 - 8/11/11 at 10:44am
post #2 of 13
most likely CSS and not php.....
New Build!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i5 2500K Gigabyte Z68X-UD5-B3 Sapphire 5770 Microcenter 2x2GB 
Hard DriveOptical DriveOSMonitor
1x64GB SSD, 2TB WD LG Sata DVD+-RW, Sony Blu Ray Windows 7 Enterprise x64 / Debian 6.0 / OSX Samsung SyncMaster P2450 
KeyboardPowerCaseMouse
Logitech Ergo Kingwin 650W CoolerMaster Razer Salmosa 
  hide details  
Reply
New Build!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i5 2500K Gigabyte Z68X-UD5-B3 Sapphire 5770 Microcenter 2x2GB 
Hard DriveOptical DriveOSMonitor
1x64GB SSD, 2TB WD LG Sata DVD+-RW, Sony Blu Ray Windows 7 Enterprise x64 / Debian 6.0 / OSX Samsung SyncMaster P2450 
KeyboardPowerCaseMouse
Logitech Ergo Kingwin 650W CoolerMaster Razer Salmosa 
  hide details  
Reply
post #3 of 13
Thread Starter 
Quote:
Originally Posted by sc30317 View Post
most likely CSS and not php.....
what do u mean? with css i can manage colors and while hovering nothing else
post #4 of 13
He's trying to say that the php just calls the script from the server. More than likely the site was designed and laid out with CSS in a div tag. If you change the location of the HTML/CSS you will be fine. Unless the whole site is hard coded with php on the front and back end, than that is a different story.

Edit:
This would be a great case to post your code to tell you exactly what to do. We don't know how the site is coded to help
OverKill
(18 items)
 
  
CPUMotherboardGraphicsGraphics
AMD Phenom II X6 1055T Gigabyte 890FXA ATI FirePro V3800 ATI FirePro V3800 
RAMHard DriveHard DriveOptical Drive
16gb GSkill 10666 Seagate Western Digital  LG Blue Ray 
CoolingOSMonitorMonitor
stock air 7 Pro 64 bit (2)22" Acer x223w (2)23" Acer G235H 
KeyboardPowerCaseMouse
Microsoft Wireless Antec 900watt Antec 300 Wacom Tablet 
Audio
Logitech Speakers and sub 
  hide details  
Reply
OverKill
(18 items)
 
  
CPUMotherboardGraphicsGraphics
AMD Phenom II X6 1055T Gigabyte 890FXA ATI FirePro V3800 ATI FirePro V3800 
RAMHard DriveHard DriveOptical Drive
16gb GSkill 10666 Seagate Western Digital  LG Blue Ray 
CoolingOSMonitorMonitor
stock air 7 Pro 64 bit (2)22" Acer x223w (2)23" Acer G235H 
KeyboardPowerCaseMouse
Microsoft Wireless Antec 900watt Antec 300 Wacom Tablet 
Audio
Logitech Speakers and sub 
  hide details  
Reply
post #5 of 13
Thread Starter 
Quote:
Originally Posted by graphicsman View Post
He's trying to say that the php just calls the script from the server. More than likely the site was designed and laid out with CSS in a div tag. If you change the location of the HTML/CSS you will be fine. Unless the whole site is hard coded with php on the front and back end, than that is a different story.

Edit:
This would be a great case to post your code to tell you exactly what to do. We don't know how the site is coded to help
what code u neee? index.php? i also know that the left panel is not included in the index.php but the index.php calls another php file to load these things at the left. the problem is thst i dont know hoe to put things on the right.tell me which php files u need and i will post them
post #6 of 13
Does the site have a back-end? Or something like an "admin" login where you can manage the site? Because the auction scripts that I've tested before had that and you could change where those boxes went from within the admin page...

Where did you get the script from? What is its name?

Nevermind... I found the source of the script...

I'm going to play devil's advocate here and ask the questions...

Why on earth would you want to set up your own auction site when you can take advantage of already established sites to do that for you?
Do you realize you're competing with eBay and a number of sites by doing this?
What makes you think people will want to give their CC/Paypal information to you?

Please don't see my questions as me wanting to shut you down, but these are questions that you will have to ask yourself at one point in time when developing a site like that one...
Edited by xXSebaSXx - 8/10/11 at 6:49am
Daily Driver
(21 items)
 
  
CPUMotherboardGraphicsGraphics
Phenom II X6 1090T Gigabyte GA-890FXA-UD5 XFX HD5670 1GB Gigabyte HD6570 1GB DDR3 
RAMHard DriveHard DriveHard Drive
Microcenter Value RAM OCZ Vertex 2 Maxtor STM3200820AS Seagate ST316002 3AS 
Optical DriveCoolingCoolingOS
Asus DRW-24B1ST Thermalright Venomous X Black Sanyo Denki - San Ace 9SG1212P1G01 120mm x 38mm... Win 7 Ultimate x64 
MonitorMonitorKeyboardPower
Dell U2311H Dell E193FP Dell OEM keyboard Corsair TX850V2 
CaseMouseMouse PadAudio
CM 690 II Advanced Razer Death Adder Black Edition 3.5G Steelseries QKC  On board Realtek HD audio 
Audio
Dell OEM 5.1 speaker system 
  hide details  
Reply
Daily Driver
(21 items)
 
  
CPUMotherboardGraphicsGraphics
Phenom II X6 1090T Gigabyte GA-890FXA-UD5 XFX HD5670 1GB Gigabyte HD6570 1GB DDR3 
RAMHard DriveHard DriveHard Drive
Microcenter Value RAM OCZ Vertex 2 Maxtor STM3200820AS Seagate ST316002 3AS 
Optical DriveCoolingCoolingOS
Asus DRW-24B1ST Thermalright Venomous X Black Sanyo Denki - San Ace 9SG1212P1G01 120mm x 38mm... Win 7 Ultimate x64 
MonitorMonitorKeyboardPower
Dell U2311H Dell E193FP Dell OEM keyboard Corsair TX850V2 
CaseMouseMouse PadAudio
CM 690 II Advanced Razer Death Adder Black Edition 3.5G Steelseries QKC  On board Realtek HD audio 
Audio
Dell OEM 5.1 speaker system 
  hide details  
Reply
post #7 of 13
Oh man, this site's coding is ancient >.> It uses tables to place everything, this is terrible coding practice. If the design had been made using entirely CSS based positioning, I could've helped you. But as it is, using tables to place items in a website is pretty static and it'd take a lot more work.

The DOCTYPE declares HTML 4.01, a standard developed in 1999.
post #8 of 13
Thread Starter 
Quote:
Originally Posted by crazyap7 View Post
Oh man, this site's coding is ancient >.> It uses tables to place everything, this is terrible coding practice. If the design had been made using entirely CSS based positioning, I could've helped you. But as it is, using tables to place items in a website is pretty static and it'd take a lot more work.

The DOCTYPE declares HTML 4.01, a standard developed in 1999.
i just bought it to practice with it and yes it does use tables :SS i also have admin but i cant change the place of the tables in it. i just have to cut the code of the member login box(i know where it is) and make a new .php file and put it in and THEN somehow point the place of the member login box ....:SS

edit: how did u find that my website use tables?
Edited by lenis1990 - 8/10/11 at 10:11am
post #9 of 13
Quote:
Originally Posted by lenis1990 View Post
edit: how did u find that my website use tables?
View Source / Firebug
Main PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Asus Maximus IV Gene-Z MSI 6950 2gb Unlocked Ref GSkill Ripjaws X 8GB CL8 
Hard DriveOSMonitorKeyboard
Crucial M4 128GB Windows 7 Ult Samsung 24" ToC Das Professional Silent 
PowerCaseMouse
Seasonic X750 Corsair 650d Logitech G700 
  hide details  
Reply
Main PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Asus Maximus IV Gene-Z MSI 6950 2gb Unlocked Ref GSkill Ripjaws X 8GB CL8 
Hard DriveOSMonitorKeyboard
Crucial M4 128GB Windows 7 Ult Samsung 24" ToC Das Professional Silent 
PowerCaseMouse
Seasonic X750 Corsair 650d Logitech G700 
  hide details  
Reply
post #10 of 13
Thread Starter 
Quote:
Originally Posted by Jonowxeno View Post
View Source / Firebug
oh cool. to change it to a better coding i have to write everything from the beginning? anw its working perfect.

so can anyone help me with my problem. i think that i have to open template.php and create a table in the place i want it (at the right of the webpage) but i dont know how! do you know who can help me?
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › move login box from the left to the right of my web.help