Просмотр поста

.
mbetixz

to make guest menu with with other view (gues / users
Search in rootpath directory index.php
search this code
if (isset($_SESSION['ref']))
unset($_SESSION['ref']);
include 'pages/mainmenu.php';
then replace with this code
if (isset($_SESSION['ref']))
unset($_SESSION['ref']);
if (!$user_id) {
require 'pages/guestmenu.php';
} else {
include 'pages/mainmenu.php';
}
#note: you must create file guestmenu.php in pages folder
if you want to make guestmenu with login form just copy file login.php in root to pages folder (You must delete require head.php n end.php in login.php)

Sory my english very bad