Beispiel #1
0
function output_page($source)
{
    ?>

    <!DOCTYPE html><html dir="ltr" class="ltr_page" lang=en>
        <head>
            <meta charset="utf-8" />
            <link href="../modules/core/site.css" media="all" rel="stylesheet" type="text/css" />
            <title>Cypht Setup</title>
            <?php 
    page_style();
    ?>
        </head>
        <body>
            <form method="post">
                <table class="settings_table config_settings">
                    <?php 
    echo check_php();
    ?>
                    <?php 
    echo config_source($source);
    ?>
                    <?php 
    output_settings(read_config($source));
    ?>
                </table>
            </form>
        </body>
    </html>

<?php 
}
include "admin/include/function.php";
include "include/common-scripts.php";
include "include/logincheck.php";
if (isset($_GET["accept"])) {
    accept_request($_GET["accept"]);
    header("location:connections.php#connection");
}
html("START");
?>
<!-- BEGIN HEAD -->
<head>
<?php 
common_head("META");
put_seo(array("title" => get_the_option("website_title") . " | Connections", "desc" => "", "author" => "", "keywords" => "", "image" => ""));
common_style("MANDATORY_STYLES");
page_style("CONNECTIONS");
common_style("THEME_STYLES");
common_head("FAVICON");
?>
    
<body class="page-header-fixed page-sidebar-closed-hide-logo page-sidebar-fixed page-sidebar-closed-hide-logo page-sidebar-closed">

<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
	<!-- BEGIN HEADER INNER -->
	<?php 
include "include/header.php";
?>
	<!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
Beispiel #3
0
include "admin/include/function.php";
include "include/common-scripts.php";
include "include/logincheck.php";
?>
<!DOCTYPE html>

<?php 
html("START");
?>
<!-- BEGIN HEAD -->
<head>
<?php 
common_head("META");
put_seo(array("title" => get_the_option("website_title") . " | Help", "desc" => "", "author" => "", "keywords" => "", "image" => ""));
common_style("MANDATORY_STYLES");
page_style("HELP");
common_style("THEME_STYLES");
common_head("FAVICON");
?>
</head>
<body class="page-header-fixed page-sidebar-closed-hide-logo page-sidebar-fixed page-sidebar-closed-hide-logo page-sidebar-closed">

<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
	<!-- BEGIN HEADER INNER -->
	<?php 
include "include/header.php";
?>
	<!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
        add_tag($eachtag);
    }
    header("location:user_post.php?updatesuccess&edit={$id}");
}
?>

<?php 
html("START");
?>
<!-- BEGIN HEAD -->
<head>
<?php 
common_head("META");
put_seo(array("title" => get_the_option("website_title") . " | Manage Posts", "desc" => "", "author" => "", "keywords" => "", "image" => ""));
common_style("MANDATORY_STYLES");
page_style("USER_POST");
common_style("THEME_STYLES");
common_head("FAVICON");
?>
</head>

<body class="page-header-fixed page-sidebar-closed-hide-logo page-sidebar-fixed page-sidebar-closed-hide-logo page-sidebar-closed">

<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
	<!-- BEGIN HEADER INNER -->
	<?php 
include "include/header.php";
?>
	<!-- END HEADER INNER -->
</div>
    $form_data = array('userid' => $_SESSION['userid'], 'type' => "share:link", 'name' => "", 'parmalink' => "", 'description' => mysql_real_escape_string(stripcslashes($_POST["description"])), 'short_description' => "", 'tags' => "", 'image' => "", 'create_date' => date("Y-m-d H:i:s"), 'last_update' => date("Y-m-d H:i:s"), 'verified' => "yes", 'status' => "publish");
    InsertData(POST, $form_data);
    $id = mysql_insert_id();
    update_post_meta($id, "share_with", $_POST["share_with"]);
    update_post_meta($id, "url", $_POST["url"]);
    header("location:profile.php?success");
}
html("START");
?>
<!-- BEGIN HEAD -->
<head>
<?php 
common_head("META");
put_seo(array("title" => get_the_option("website_title") . " | My Profile", "desc" => "", "author" => "", "keywords" => "", "image" => ""));
common_style("MANDATORY_STYLES");
page_style("PROFILE");
common_style("THEME_STYLES");
common_head("FAVICON");
?>
</head>
<!-- END HEAD -->

<body class="page-header-fixed page-sidebar-closed-hide-logo page-sidebar-fixed page-sidebar-closed-hide-logo">

<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
	<!-- BEGIN HEADER INNER -->
	<?php 
include "include/header.php";
?>
	<!-- END HEADER INNER -->
Beispiel #6
0
if (isset($_GET["logout"])) {
    unset($_SESSION["userid"]);
    header("location:./");
}
?>

<?php 
html("START");
?>
<!-- BEGIN HEAD -->
<head>
<?php 
common_head("META");
put_seo(array("title" => get_the_option("website_title") . " | Home", "desc" => "", "author" => "", "keywords" => "", "image" => ""));
common_style("MANDATORY_STYLES");
page_style("HOME");
common_style("THEME_STYLES");
common_head("FAVICON");
?>
</head>
<!-- END HEAD -->


<!-- BEGIN BODY -->
<body class="page-header-fixed page-sidebar-closed-hide-logo page-sidebar-fixed page-sidebar-closed-hide-logo">

<!-- BEGIN HEADER -->
<?php 
include "include/header.php";
?>
<!-- END HEADER -->
Beispiel #7
0
    $parent = mysql_real_escape_string(stripcslashes($_POST["parent"]));
    $form_data = array('post_id' => $postid, 'parent' => $parent, 'user_id' => $_SESSION["userid"], 'name' => $name, 'email' => $email, 'message' => $message, 'date' => date("Y-m-d H:i:s"), 'status' => "active");
    InsertData(POST_COMMENT, $form_data);
    header("location:{$posturl}?success");
}
$posrarr = get_the_post($postid);
$postuser = get_the_user($posrarr["userid"]);
html("START");
?>
<!-- BEGIN HEAD -->
<head>
<?php 
common_head("META");
put_seo(array("title" => $posrarr["name"], "desc" => "", "author" => "", "keywords" => "", "image" => ""));
common_style("MANDATORY_STYLES");
page_style("POST");
common_style("THEME_STYLES");
common_head("FAVICON");
?>
    
<?php 
if ($posrarr["type"] == "gallery") {
    ?>
<!-- OWL CSS -->
<link href="<?php 
    echo BASEURL;
    ?>
assets/global/plugins/owl-carousel/owl-carousel/owl.carousel.css" rel="stylesheet" type="text/css"/>
<link href="<?php 
    echo BASEURL;
    ?>
        echo "1";
        sleep(1);
    } else {
        echo "0";
    }
    exit;
}
html("START");
?>
<!-- BEGIN HEAD -->
<head>
<?php 
common_head("META");
put_seo(array("title" => get_the_option("website_title") . " | Edit Profile", "desc" => "", "author" => "", "keywords" => "", "image" => ""));
common_style("MANDATORY_STYLES");
page_style("PROFILE_EDIT");
common_style("THEME_STYLES");
common_head("FAVICON");
?>
</head>

<body class="page-header-fixed page-sidebar-closed-hide-logo page-sidebar-fixed page-sidebar-closed-hide-logo">

<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
	<!-- BEGIN HEADER INNER -->
	<?php 
include "include/header.php";
?>
	<!-- END HEADER INNER -->
</div>
    $message = mysql_real_escape_string(stripslashes($_POST["message"]));
    send_message($from, $to, $title, $message, $replyof);
    header("location:messages.php?message={$_GET['message']}&replysucess");
}
?>
    
<?php 
html("START");
?>
<!-- BEGIN HEAD -->
<head>
<?php 
common_head("META");
put_seo(array("title" => get_the_option("website_title") . " | Message", "desc" => "", "author" => "", "keywords" => "", "image" => ""));
common_style("MANDATORY_STYLES");
page_style("MESSAGE");
common_style("THEME_STYLES");
common_head("FAVICON");
?>
</head>    
<body class="page-header-fixed page-sidebar-closed-hide-logo page-sidebar-fixed page-sidebar-closed-hide-logo page-sidebar-closed">

<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
	<!-- BEGIN HEADER INNER -->
	<?php 
include "include/header.php";
?>
	<!-- END HEADER INNER -->
</div>
<!-- END HEADER -->