Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Help with an error in my CMS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FirefighterKyle" data-source="post: 203804" data-attributes="member: 22469"><p>That did this <a href="http://prntscr.com/14an3a" target="_blank">http://prntscr.com/14an3a</a> I mean it made more rows of it but still not showing who was hired etc I will copy more of the code if you want me to [CODE]$getCorpID = $input->FilterText($_GET['id']);</p><p>?></p><p> </p><p><div id="container"></p><p><div id="content" style="position: relative" class="clearfix"></p><p> <div id="column1" class="column"></p><p> </p><p> <div class="habblet-container "></p><p> </p><p><div id="column1" class="column" style="width:540px"></p><p> </p><p><div class="habblet-container "></p><p><div class="cbb clearfix white "></p><p> </p><p><h2 class="title">Recent Activity</p><p></h2></p><p> </p><p><div id="credits-safety" class="box-content credits-info"></p><p> </p><p><div class="credit-info-text clearfix"></p><p> </p><p><table width="100%"></p><p> </p><p><tr style="font-weight:bold"></p><p> </p><p><td>Target</td></p><p> </p><p><td>Master</td></p><p> </p><p><td>Action</td></p><p> </p><p><td></td></p><p> </p><p></tr></p><p> </p><p> <?php</p><p>$getCorp1 = mysql_query("SELECT * FROM jobs_corps ORDER BY id DESC LIMIT 25");</p><p>while ($corpLog = mysql_fetch_array($getCorp1)) {</p><p>?></p><p> </p><p><tr></p><p> </p><p><td><?php echo $corpLog['target']; ?></td></p><p> </p><p><td><?php echo $corpLog['master']; ?></td></p><p> </p><p><td><?php echo $corpLog['action']; ?></td></p><p> </p><p><td><img src="./info.png" onMouseover="ddrivetip('ID: <?php echo $corpLog['id']; ?>')";</p><p>onMouseout="hideddrivetip()" /></td></p><p> </p><p></tr></p><p> </p><p> <?php</p><p>}</p><p>?></p><p> </p><p> </p><p> </p><p></table></p><p> </p><p></div></p><p> </p><p></div></p><p> </p><p></div></p><p> </p><p></div></p><p> </p><p> </p><p><?php</p><p>$getRank = mysql_query("SELECT * FROM jobs_ranks WHERE corp_id = '".$getCorpID."';");</p><p>$count = mysql_num_rows($getRank);</p><p>for ($i=1; $i<=$count; $i++)</p><p>{</p><p> $getRankInfo = mysql_query("SELECT * FROM jobs_ranks WHERE corp_id = '".$getCorpID."' && job_rank = '".$i."'");</p><p> $rankInfo = mysql_fetch_array($getRankInfo);</p><p> $getUserInfo = mysql_query("SELECT * FROM users WHERE secure_id = '".$rankInfo['id']."'");</p><p>?></p><p> </p><p> <div class="cbb clearfix white "></p><p> </p><p><h2 class="title"><b>Rank:</b> <?php echo $rankInfo['motto'].''; ?></p><p></h2></p><p><p class="credits-countries-select"></p><p><?php</p><p>while($UserInfo = mysql_fetch_array($getUserInfo)){</p><p> echo '<img src="http://www.habbo.nl/habbo-imaging/avatarimage?figure='.$UserInfo['figure'].'&size=s&direction=2&head_direction=3&gesture=sml&size=m" align="left"><strong><a href="#">'.$UserInfo['name'].'</a></strong><br />'.$UserInfo['mission'].'<br />Rank: '.$UserInfo['staffrank'].'<br />Last visit: '.$UserInfo['lastvisit'].'<br /><br />';</p><p>}</p><p>?></p><p></p></p><p> </div></p><p><?php</p><p>}</p><p>?></p><p> </p><p></div></p><p></div></p><p><div id="column2" class="column"></p><p><div class="habblet-container "></p><p><div class="cbb clearfix blue "></p><p><?php</p><p>$getCorp = mysql_query("SELECT * FROM jobs_corps WHERE id = '".$getCorpID."'");</p><p>$corpInfo = mysql_fetch_array($getCorp);</p><p>$getOwner = mysql_query("SELECT * FROM users WHERE id = '".$corpInfo['owner']."'");</p><p>$owner = mysql_fetch_array($getOwner);</p><p>?>[/CODE]</p></blockquote><p></p>
[QUOTE="FirefighterKyle, post: 203804, member: 22469"] That did this [url]http://prntscr.com/14an3a[/url] I mean it made more rows of it but still not showing who was hired etc I will copy more of the code if you want me to [CODE]$getCorpID = $input->FilterText($_GET['id']); ?> <div id="container"> <div id="content" style="position: relative" class="clearfix"> <div id="column1" class="column"> <div class="habblet-container "> <div id="column1" class="column" style="width:540px"> <div class="habblet-container "> <div class="cbb clearfix white "> <h2 class="title">Recent Activity </h2> <div id="credits-safety" class="box-content credits-info"> <div class="credit-info-text clearfix"> <table width="100%"> <tr style="font-weight:bold"> <td>Target</td> <td>Master</td> <td>Action</td> <td></td> </tr> <?php $getCorp1 = mysql_query("SELECT * FROM jobs_corps ORDER BY id DESC LIMIT 25"); while ($corpLog = mysql_fetch_array($getCorp1)) { ?> <tr> <td><?php echo $corpLog['target']; ?></td> <td><?php echo $corpLog['master']; ?></td> <td><?php echo $corpLog['action']; ?></td> <td><img src="./info.png" onMouseover="ddrivetip('ID: <?php echo $corpLog['id']; ?>')"; onMouseout="hideddrivetip()" /></td> </tr> <?php } ?> </table> </div> </div> </div> </div> <?php $getRank = mysql_query("SELECT * FROM jobs_ranks WHERE corp_id = '".$getCorpID."';"); $count = mysql_num_rows($getRank); for ($i=1; $i<=$count; $i++) { $getRankInfo = mysql_query("SELECT * FROM jobs_ranks WHERE corp_id = '".$getCorpID."' && job_rank = '".$i."'"); $rankInfo = mysql_fetch_array($getRankInfo); $getUserInfo = mysql_query("SELECT * FROM users WHERE secure_id = '".$rankInfo['id']."'"); ?> <div class="cbb clearfix white "> <h2 class="title"><b>Rank:</b> <?php echo $rankInfo['motto'].''; ?> </h2> <p class="credits-countries-select"> <?php while($UserInfo = mysql_fetch_array($getUserInfo)){ echo '<img src="http://www.habbo.nl/habbo-imaging/avatarimage?figure='.$UserInfo['figure'].'&size=s&direction=2&head_direction=3&gesture=sml&size=m" align="left"><strong><a href="#">'.$UserInfo['name'].'</a></strong><br />'.$UserInfo['mission'].'<br />Rank: '.$UserInfo['staffrank'].'<br />Last visit: '.$UserInfo['lastvisit'].'<br /><br />'; } ?> </p> </div> <?php } ?> </div> </div> <div id="column2" class="column"> <div class="habblet-container "> <div class="cbb clearfix blue "> <?php $getCorp = mysql_query("SELECT * FROM jobs_corps WHERE id = '".$getCorpID."'"); $corpInfo = mysql_fetch_array($getCorp); $getOwner = mysql_query("SELECT * FROM users WHERE id = '".$corpInfo['owner']."'"); $owner = mysql_fetch_array($getOwner); ?>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help with an error in my CMS
Top