DOWNLOAD A'n'S AppStore (2 Apps And Web Version) Single Panel Version **COMMUNITY PROJECT**

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
Use a pin to view the webpage, yeah a simple php script added to the html page should work,

Before this amazing panel / appstore i was working on a web page to use in downloader which i added a pin to.

So this would be your index page:

<?php
session_start();
echo isset($_SESSION['login']);
if(isset($_SESSION['login'])) {
header('LOCATION:admin.php'); die();
}
?>
<!DOCTYPE html>
<html>
<style>
h1 {text-align: center;}
p {text-align: center;}
div {text-align: center;}
</style>
<head>
<meta http-equiv='content-type' content='text/html;charset=utf-8' />
<title>App Store</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h3 class="text-center">App Store Login</h3>
<?php
if(isset($_POST['submit'])){
$username = $_POST['username'];
if($username === '5678'){
$_SESSION['login'] = true; header('LOCATION:admin.php'); die();
} {
echo "<div class='alert alert-danger'>Pin Code Incorrect, Please contact an Admin.</div>";
}

}
?>
<form action="" method="post">
<div class="form-group" "text-center">
<label for="username">Please Enter Pin Code</label>
<input type="number" class="form-control" id="username" name="username" maxlength="4" width:150px required>
</div>
<button type="submit" name="submit" class="btn btn-default">Login</button>
</form>
</div>
</body>
</html>

Line 5: put the main page you want to re-direct to after putting pin in
Line 28: Enter the desired pin / text you want
Line 29: Enter the main re-direct page again, same as line 5

Hopefully this helps, i hasn't finished it but it did work. I know FTG is much better than me with php, a while ago i created something which he amended the login and added password hashing to make it more secure.
will look to add this pal
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
Use a pin to view the webpage, yeah a simple php script added to the html page should work,

Before this amazing panel / appstore i was working on a web page to use in downloader which i added a pin to.

So this would be your index page:

<?php
session_start();
echo isset($_SESSION['login']);
if(isset($_SESSION['login'])) {
header('LOCATION:admin.php'); die();
}
?>
<!DOCTYPE html>
<html>
<style>
h1 {text-align: center;}
p {text-align: center;}
div {text-align: center;}
</style>
<head>
<meta http-equiv='content-type' content='text/html;charset=utf-8' />
<title>App Store</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h3 class="text-center">App Store Login</h3>
<?php
if(isset($_POST['submit'])){
$username = $_POST['username'];
if($username === '5678'){
$_SESSION['login'] = true; header('LOCATION:admin.php'); die();
} {
echo "<div class='alert alert-danger'>Pin Code Incorrect, Please contact an Admin.</div>";
}

}
?>
<form action="" method="post">
<div class="form-group" "text-center">
<label for="username">Please Enter Pin Code</label>
<input type="number" class="form-control" id="username" name="username" maxlength="4" width:150px required>
</div>
<button type="submit" name="submit" class="btn btn-default">Login</button>
</form>
</div>
</body>
</html>

Line 5: put the main page you want to re-direct to after putting pin in
Line 28: Enter the desired pin / text you want
Line 29: Enter the main re-direct page again, same as line 5

Hopefully this helps, i hasn't finished it but it did work. I know FTG is much better than me with php, a while ago i created something which he amended the login and added password hashing to make it more secure.
1626022299678.png
 

SparkyMarky

Member
Joined
Apr 14, 2021
Messages
36
Awards
2
Offline
Have I missed any steps in this setup?

Edited panel url in appstore apk and installed to device
Installed panel files to my hosting site and setup with access code etc

Anything else I should be doing as the app is saying that code does not exist
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
Have I missed any steps in this setup?

Edited panel url in appstore apk and installed to device
Installed panel files to my hosting site and setup with access code etc

Anything else I should be doing as the app is saying that code does not exist
no pal that sounds about right
double check your urls maybe
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
both this and purple off here work a treat pal, check you have all required extensions active on your panel host
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
forgive my lack of knowledge pal but what do you mean by extensions?
php scripts, mysql, sqlite whatever the panels require
the apps and panels work fine i have made plenty of them for sellers
 

zonestv

New member
Joined
Jun 30, 2021
Messages
12
Offline
Can I get some assistance. I have both apps edited and can see them both. My issue is it says the pin is invalid. I created the pin, and changed the pin from the panel and I can see it created the folder, changes the folder if I edit the pin, etc. Just says pin is incorrect when I try to enter them in the both apps.
 

SparkyMarky

Member
Joined
Apr 14, 2021
Messages
36
Awards
2
Offline
php scripts, mysql, sqlite whatever the panels require
the apps and panels work fine i have made plenty of them for sellers
I have various other panels running fine. LTQ, XCIPTV, FCD, SUPA Q, SMARTERS, MEGAPANEL, ELITE STB all running ok so wouldnt think thats the issue would it pal?
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
I have various other panels running fine. LTQ, XCIPTV, FCD, SUPA Q, SMARTERS, MEGAPANEL, ELITE STB all running ok so wouldnt think thats the issue would it pal?
Not sure mate u can't exactly guess your issue tho mate, only make a suggestion
So many have the same items up and running fine so without access I wouldn't know.
So many post things like this,
"Not working for me"
And from all that info think we can reply with a fix ?
 

zonestv

New member
Joined
Jun 30, 2021
Messages
12
Offline
Have I missed any steps in this setup?

Edited panel url in appstore apk and installed to device
Installed panel files to my hosting site and setup with access code etc

Anything else I should be doing as the app is saying that code does not exist
@Poncho Can I get some assistance. I have both apps edited and can see them both. My issue is it says the pin is invalid in one app and code does not exist in the other. I created the pin, and changed the pin from the panel and I can see it created the folder, changes the folder if I edit the pin, etc. Just says pin is incorrect when I try to enter them in the both apps.
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
the pin only works within the applinked app and the url to the applogin.php needs be set to the api folder within the app
 

Expire0

New member
VIP Member
Joined
Jul 7, 2021
Messages
17
Offline
Thanks for the share guys . I really needed something like this after filelinked went away. Thumbs up to everyone
 

craighull

Member
Joined
Apr 9, 2021
Messages
29
Offline
Was there a solution to this, I'm using vps server and I'm getting this, yet when hosted on hostiger it works fine
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
Was there a solution to this, I'm using vps server and I'm getting this, yet when hosted on hostiger it works fine
have you tried just deleting, reboot and readding?
 

craighull

Member
Joined
Apr 9, 2021
Messages
29
Offline
have you tried just deleting, reboot and readding?
Tried everything pal, not the first panel ive noticed this on vps, certain xc panels does it as well, drove me mad why it does i prefer to have them all on my vps, must be a setting somewhere
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
Could just be a php extension bud
Sqlite and all set up yh
 
Top