$email = mysql_real_escape_string(stripcslashes($_POST["email"])); $message = mysql_real_escape_string(stripcslashes($_POST["message"])); $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
include "config/config.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 -->
UpdateData(USER, $form_data, "WHERE slno = " . $id . ""); log_edit_user($id); 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"; ?>