<?php if($_GET['server'] = 1) echo '<a class="btn" href="index.php?account=<?php echo $_GET['login']; ?>&sum=<?php echo $_GET['sum']; ?>" target="_blank">Оплатить</a>' ;?>
Parse error: syntax error, unexpected 'login' (T_STRING), expecting ';' or ',' in C:\OpenServer\domains\test\index.php on line 39
<h2><i class="fas fa-check"></i> Put on this page information about your product</h2>
<h2><i class="fas fa-check"></i> A detailed description of your product</h2>
<h2><i class="fas fa-check"></i> Tell us about the advantages and merits</h2>
<h2><i class="fas fa-check"></i> Associate the page with the payment system</h2>
<?
require_once 'config.php';
if(isset($_POST['login']))
{
$name = $_POST['nick'];
$password = $_POST['password'];
$search = mysqli_query($_MS, "SELECT * FROM `".$account['table']."` WHERE `".$account['name']."`='$name'");
if(mysqli_num_rows($search) > 0)
{
$user = mysqli_fetch_array($search);
if($user["".$account['pass'].""]==$password)
{
setcookie("pass", md5(md5($password)).":".$name, time() + 60*100, "/");
header("Location: ../pages/cp/index.php");
}
else
{
//$info_pass="<div class=\"alert alert-danger\">
//<strong>Ошибка!</strong> Пароль не правильный.
//</div>";
$info_pass="<div class=\"alert alert-danger\">
<strong>Ошибка!</strong> Пароль не правильный.
</div>";
}
}
else
{
$info_user = "<div class=\"alert alert-danger\">
<strong>Ошибка!</strong> Игрок не найден.
</div>";
}
}
if($_GET["access"]=="exit") {
setcookie("pass", "", "0", "/");
header("Location: ../pages/cp/login.php");
}
?>
Лучше верстать всё сразу и не делать мозги :)