Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Graveyard

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-26-2009, 12:11 AM
Blue Icebox Blue Icebox is offline
Member
 
Join Date: Jan 2009
Posts: 45
Credits: 5,065
Blue Icebox
Default Change the MyAdopts.php page!

Well, it started that I didn't like the format of MyAdopts.php

It looks... to plain... and it's very un-cool to look at... so I made my own design!

Just follow this:

1. Go to myadopts.php
2. Find something like
PHP Code:
//Loop out code
$i=0;
while (
$i $num) {

$aid=@mysql_result($result,$i,"aid"); //The adoptable's ID
$currentlevel=@mysql_result($result,$i,"currentlevel");
$type=@mysql_result($result,$i,"type");
$name=@mysql_result($result,$i,"name");

// 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); 
using Ctrl-F
3. Change <table width='440' border='1'><tr>
to <table width=\"440\" border=\"0\" align=\"center\">

Find everything from $article_content to $i++;

and change that to

PHP Code:
$article_content $article_content."<tr><td><center>
~"
.$naem."~<br>
<a href=\"/levelup.php?id="
.$id."\"><img src='".&image."'></a><br>
<b>Petted</b> "
.$totalclicks." <b>, is level</b> ".$currentlevel." <b> and will be level</b> ".$nloutput."<b> needing</b> ".$ctg." <b>clicks!</b>
</center></td><td>
<a href='myadopts.php?act=stats&id="
.$id."'>Stats</a><br>
<a href='myadopts.php?act=bbcode&id="
.$id."'>Display Codes</a><br>
<a href='myadopts.php?act=rename&id="
.$id."'>Rename</a><br>
<a href='myadopts.php?act=freeze&id="
.$id."'>Un/Freeze</a><br>
<a href='myadopts.php?act=kill&id="
.$id."'>Kill</a><br>
</td></tr>"
;

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

$i++; 
And tada! You see a more decent style! The other style is still available if you want to add the link...

Code:
<a href=\"myadopts.php?act=manage&id=".$id."\">Full Ind. Edit</a>
to the list, that's fine!
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal Error with Myadopts page Abronsyth Questions and Supports 2 12-29-2014 03:54 PM
Add a new function in the myadopts page? Infernette Questions and Supports 8 07-02-2013 12:12 PM
How to Restyle Myadopts Page? AlexC Questions and Supports 3 04-04-2013 10:34 AM
MyAdopts page? Aasixx Questions and Supports 4 04-15-2012 06:37 PM
Sidebar wonky on the myadopts page coffeeaddict Questions and Supports 2 03-01-2011 06:56 PM


All times are GMT -5. The time now is 11:01 PM.

Currently Active Users: 9863 (0 members and 9863 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636