Jump to content
  • 0

Errore la Factions


HAndreiH

Question

6 answers to this question

Recommended Posts

  • 0
La 20.01.2021 la 11:34, Luca.sex a spus:

Intra in faction.p.php si da-mi linaiile 40 pana la 50 

                            <td><?php echo $membersin ?></td>
                            <td><a href="<?php echo Config::$URL ?>factions/members/<?php echo $factions->ID ?>">members</a> / <a href="<?php echo Config::$URL ?>factions/logs/<?php echo $factions->ID ?>">logs</a> / <a href="<?php echo Config::$URL ?>factions/applications/<?php echo $factions->ID ?>">apps</a> / <a href="<?php echo Config::$URL ?>factions/complaints/<?php echo $factions->ID ?>">complaints</a></td>

<td>
<?php if (!Config::isLogged()) echo 'Nu esti logat.'; else { ?>
<?php if (Config::getmyFaction() > 0) echo 'Ai factiune.'; else { ?>
<?php if ($applied > 0) echo 'Ai aplicat deja intr-o factiune.'; else { ?>
<?php if ($factions->App == 0) echo 'Aplicatiile sunt inchise.'; else { ?>
<?php if (Config::getmyLevel() < $factions->MinLevel) echo 'Nu ai level-ul necesar.'; else { ?>

<a href="<?php echo Config::$URL ?>factions/apply/<?php echo $factions->ID ?>"><button type="submit" class="btn btn-primary">Apply</button></a>

asta de la linia 40-50

Link to comment
Share on other sites

  • 0

Încearcă să modifici linia 48 din:

<?php if (Config::getmyLevel() < $factions->MinLevel) echo 'Nu ai level-ul necesar.'; else { ?>

în

<?php if(Config::getMyLevel() < isset($factions -> MinLevel)) echo 'Nu ai level-ul necesar.'; else { ?>

 

Link to comment
Share on other sites

  • 0
Acum 41 minute, matei_ a spus:

Încearcă să modifici linia 48 din:

<?php if (Config::getmyLevel() < $factions->MinLevel) echo 'Nu ai level-ul necesar.'; else { ?>

în

<?php if(Config::getMyLevel() < isset($factions -> MinLevel)) echo 'Nu ai level-ul necesar.'; else { ?>

 

A mers dar acum imi da de la linia 56

 

<a href="<?php echo Config::$URL ?>factions/apply/<?php echo $factions->ID ?>"><button type="submit" class="btn btn-primary">Apply</button></a>

<?php } } } } } ?>
</td>

                            <td><?php echo $factions->MinLevel ?></td>
                          </tr>
                 
<?php } ?>
                     
                      </table>
                    </div>
                    </div>
                  </div>
                </div>
 <?php } else if(Config::$_url[1] == "members" && isset(Config::$_url[2])) { ?>

E de la linia 51-66

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.