Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 01-17-2011, 03:20 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 37,055
PTGigi
Default

That's what I fine strange because I do have a act == "" statement:
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>";

// We need to get all of the user's adoptables from the database and display them...

$query "SELECT * FROM ".$prefix."owned_adoptables WHERE owner='$loggedinname'";
$result mysql_query($query);
$num mysql_numrows($result);

//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");
$petstatus=@mysql_result($result,$i,"status");


// 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>";
if (
$petstatus "Sick") { //SICK!! Provide the cure =3
    
$article_content $article_content."Thoughts: Sick!! <a href='levelup.php?id=".$aid."'>Click to cure!!</a></p></div></td>";
}
else if (
$petstatus "Scared") { //SICK!! Provide the cure =3
    
$article_content $article_content."Thoughts: Sick!! <a href='levelup.php?id=".$aid."'>Click to cure!!</a></p></div></td>";
}
else { 
    
$article_content $article_content."Thoughts: ".$petstatus."</p></div></td>";    
}
$article_content $article_content."</tr></table><br>";


$i++;

}


So for some odd reason it's skipping over that or something O.o
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic
 


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
Pages on myadopts not working? Infernette Questions and Supports 1 07-27-2013 12:30 PM
Parse error with myadopts.php Aasixx Questions and Supports 4 05-05-2012 10:05 PM
MyAdopts page? Aasixx Questions and Supports 4 04-15-2012 06:37 PM
Change the MyAdopts.php page! Blue Icebox Addons/Mods Graveyard 4 05-03-2009 03:04 PM


All times are GMT -5. The time now is 04:59 PM.

Currently Active Users: 3673 (0 members and 3673 guests)
Threads: 4,081, Posts: 32,032, 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636