예제 #1
0
파일: index.php 프로젝트: Rydog101/MyMods
<?php

include_once "../functions.php";
?>

<html>
	<title>MyMods Installation</title>

	<script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="scripts/system-check.js"></script>

    <style><?php 
echo getThemeData("Modern", "css", true);
?>
</style>
    <style>
        #content {
            margin-left: auto;
            margin-right: auto;
            margin-top: 50px;
            background-color: #fbfbfc;
            width: 75%;
            border-radius: 15px 15px 15px 15px;
        }
    </style>
    <img src=<?php 
echo "../images/modern/logo.png";
?>
>
    <div class="content" id="content"> <?php 
include "system-check.php";
예제 #2
0
파일: index.php 프로젝트: Rydog101/MyMods
if (file_exists("./install/index.php")) {
    header("Location: ./install");
    die;
} else {
    include "inc/connect.php";
}
$notheme = mysqli_fetch_array(mysqli_query($con, "SELECT `theme` FROM `settings` WHERE 1"))['theme'] == null;
$json = getThemeData($notheme ? "Modern" : mysqli_fetch_array(mysqli_query($con, "SELECT `theme` FROM `settings` WHERE 1"))['theme'], 'json');
?>
<html>
    <title><?php 
echo mysqli_fetch_array(mysqli_query($con, "SELECT `title` FROM `settings` WHERE 1"))['title'];
?>
</title>
    <style><?php 
echo getThemeData(mysqli_fetch_array(mysqli_query($con, "SELECT `theme` FROM `settings` WHERE 1"))['theme'], 'css');
?>
</style>
    <script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <body>
        <!--HEADER START-->
            <?php 
include getLayoutData(mysqli_fetch_array(mysqli_query($con, "SELECT `layout` FROM `settings` WHERE 1"))['layout'], 'header', 'include');
$adfly = mysqli_query($con, "SELECT `Adfly` FROM `settings` WHERE 1");
$adlink = mysqli_fetch_array($adfly);
?>
            </div>
        <!--HEADER END-->

        <!--BODY START-->
        <?php 
예제 #3
0
파일: index.php 프로젝트: Rydog101/MyMods
<?php

include_once "../functions.php";
include "../inc/connect.php";
$notheme = mysqli_fetch_array(mysqli_query($con, "SELECT `theme` FROM `settings` WHERE 1"))['theme'] == null;
$json = getThemeData($notheme ? "Modern" : mysqli_fetch_array(mysqli_query($con, "SELECT `theme` FROM `settings` WHERE 1"))['theme'], 'json', true);
$imgDir = '../images/' . $json['id'] . '/';
?>

<html>
	<title>MyMods Control Panel</title>
    <style><?php 
echo getThemeData('Modern', 'css', true);
?>
</style>
    <style>
        #main {
            margin-left: auto;
            margin-right: auto;
            margin-top: 50px;
            background-color: #eceef1;
            width: 75%;
            border-radius: 15px 15px 15px 15px;
        }
    </style>
    <script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="scripts/save-settings.js"></script>
	<body>
        <div align="center">
            <img src=<?php 
echo $imgDir . "logo.png";