View Single Post
  #3  
Old 05-17-2009, 10:28 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 44,805
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: Help with the myadopt.php page.

It's quite simple really. Go to your myadopts.php file, find where it says:

PHP Code:
if($act == ""){



// No action specified, we just show all the adoptables with a manage link



$article_title $loggedinname."'s Adoptables";

$article_content $lang_adoptmanagement."<br>"
And just take out the <br>
The reason it is set up this way, is because the adoptables information can make the tables rather large, so the best option would be to have go Vertically instead of horizontally.

A quick update:

After you edit that part of the code, scroll down a little bit, until you find this:

PHP Code:
// Our code to determine if we show the table or not...





$article_content $article_content."<table width='440' border='1'><tr>";







// Output the table information...

// Get the current adoptable's image



$image getcurrentimage($aid);



$article_content $article_content."<td><div align='center'><p>".$name."</p><p><a href='myadopts.php?act=manage&id=".$aid."'><img src='".$image."' border=0></a></p><p>

<b><a href='myadopts.php?act=manage&id="
.$aid."'>Manage</a></b></p></div></td>";





$article_content $article_content."</tr></table><br>";





$i++;




The last '$acrticle_content' needs to be changed to this:

PHP Code:
$article_content $article_content."</tr></table>"
You could also, change the size of the table to a smaller size, so that they could fit. This all of course, depends on the size of your adoptables image.
Reply With Quote