Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once("functions.php");
- include_once("connect_1.php");
- //====================================================================
- if(ftp_size($ftpcon,"$usersdir/$ime.ini") == -1 || $ime == "None")
- {
- echo "<center><font color='#444444'>3. Nume Incorect!<br/></font></center>";
- return 1;
- }
- else
- {
- ftp_pasv($ftpcon,true);
- $fhandle = fopen("tempsign_".hash('sha256',"$ime").".tmp","w+");
- ftp_fget($ftpcon,$fhandle,"$usersdir/$ime.ini",FTP_ASCII);
- $str = parse_ini_file2("tempsign_".hash('sha256',"$ime").".tmp");
- fclose($fhandle);
- echo "<br><span style='color:black'>Level: ".$str['level']."</span>";
- echo "<br><span style='color:black'>Vip: ".$str['vip']."</span>";
- }
- ftp_close($ftpcon);
- unset($str);
- unset($ftpad);
- unset($ftpuser);
- unset($ftppass);
- unset($ftpcon);
- unset($login);
- ?>
- <div align="center"><table border="1" style="width:150px">
- <tr>
- <td><font color="red">Admin:<font color="green"><?php echo htmlentities( $str['level']); ?></td>
- </tr>
- </table>
- <?
- }
- include("footer.php");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement