- 0
leader_panel bug
-
Similar Content
-
- 7 replies
- 683 views
-
- 10 answers
- 3.298 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
official
Problema intalnita (descriere): Am intalnit o problema la panel mai exact la LeaderPanel, daca opresc aplicatiile dupa nu imi mai apare chesia aia sa repornesc aplicatiile http://imgur.com/7rbZWw1 http://imgur.com/2J8By07
Ero(area / rile) / warning-(ul / urile): nu am erori
Liniile de cod / sursa / script-ul(obligatoriu):
<?php include 'includes/config.php'; redirect_not_logged(); if(isset($_GET['X']) && $udata['playerGroupRank'] > 5) { $id = (int)$_GET['X']; mysql_query('UPDATE groups SET groupApplication = 0 WHERE groupID='.$id); $eroare = 'You succesfully turned the aplications OFF!'; } if(isset($_GET['X2']) && $udata['playerGroupRank'] > 5) { $id = (int)$_GET['X2']; mysql_query('UPDATE groups SET groupApplication = 1 WHERE groupID='.$id); $eroare = 'You succesfully turned the aplications ON!'; } include 'includes/header.php'; ?> <div class="main-content"> <div class="page-content"> <div class="row-fluid"> <div class="span12"> <?php if($udata['playerGroupRank'] >= 6): ?> <div class="row-fluid"> <div class="span12"> <h3>Setari factiune</h3> <ul> <?php $group = $udata['playerGroup']; ?> <?php $query = mysql_query("SELECT * from groups WHERE groupID = '$group'"); while($dnn=mysql_fetch_array($query)) { ?> <?php if($dnn['groupApplication']=="1") { ?> <li><a href="?X=<?=$udata['playerGroup']?>">Inchide aplicatii</a></li> <?php } ?> <?php if($dnn['groupApplication']=="1") { ?> <li><a href="?X2=<?=$udata['playerGroup']?>">Deschide aplicatii</a></li> <?php } ?> <?php } ?> </ul> <hr> <?php $da = $udata['playerGroup']; ?> <?php $new2 = mysql_query("SELECT COUNT(id) as total FROM complaints WHERE status = 0 and factionid = '$da'"); $new2 = mysql_fetch_array($new2); ?> Faction complaints: <a href="fcomplaints.php?f=<?=$udata['playerGroup']?>"><?=$new2['total']?> complaints pending</a><br> <?php $new = mysql_query("SELECT COUNT(id) as total FROM aplications WHERE factionid = '$da' and status = 0"); $new = mysql_fetch_array($new); ?> Faction applications: <a href="aplications.php?f=<?=$udata['playerGroup']?>"><?=$new['total']?> applications pending</a><br> </div> </div> <?php endif; ?> <?php if(isset($eroare)): ?> <br /> <font color="#FF0000" size="3"><b><center><?=$eroare?></center></b></font> <?php endif; ?> </div> </div> </div> </div>Imagini / Video (optional): http://imgur.com/7rbZWw1 http://imgur.com/2J8By07
Ati incercat sa rezolvati singur?: Da.. fara efect
2 answers to this question
Recommended Posts