Initial commit
1383
pressroom/www/html/404.html
Normal file
1549
pressroom/www/html/about.html
Normal file
1677
pressroom/www/html/about_2.html
Normal file
1576
pressroom/www/html/author.html
Normal file
1699
pressroom/www/html/authors.html
Normal file
1606
pressroom/www/html/blog.html
Normal file
1608
pressroom/www/html/blog_2_columns.html
Normal file
1608
pressroom/www/html/blog_2_columns_left_sidebar.html
Normal file
1428
pressroom/www/html/blog_3_columns.html
Normal file
1606
pressroom/www/html/blog_left_sidebar.html
Normal file
1675
pressroom/www/html/blog_small_slider.html
Normal file
1606
pressroom/www/html/category_health.html
Normal file
1606
pressroom/www/html/category_lifestyle.html
Normal file
1606
pressroom/www/html/category_science.html
Normal file
1606
pressroom/www/html/category_sports.html
Normal file
1606
pressroom/www/html/category_world.html
Normal file
1402
pressroom/www/html/contact.html
Normal file
1306
pressroom/www/html/contact_2.html
Normal file
25
pressroom/www/html/contact_form/config.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
define('_to_name', 'QuanticaLabs@gmail.com');
|
||||
define('_to_email', 'quanticalabs@gmail.com');
|
||||
|
||||
define('_smtp_host', '');
|
||||
define('_smtp_username', '');
|
||||
define('_smtp_password', '');
|
||||
define('_smtp_port', '');
|
||||
define('_smtp_secure', ''); //ssl or tls
|
||||
|
||||
define('_subject_email', 'PressRoom: Contact from WWW');
|
||||
|
||||
define('_def_name', 'Your Name *');
|
||||
define('_def_email', 'Your Email *');
|
||||
define('_def_subject', 'Subject');
|
||||
define('_def_message', 'Message *');
|
||||
|
||||
define('_msg_invalid_data_name', 'Please enter your name.');
|
||||
define('_msg_invalid_data_email', 'Please enter valid e-mail.');
|
||||
define('_msg_invalid_data_message', 'Please enter your message.');
|
||||
|
||||
|
||||
define('_msg_send_ok', 'Thank you for contacting us.');
|
||||
define('_msg_send_error', 'Sorry, we can\'t send this message.');
|
||||
?>
|
||||
71
pressroom/www/html/contact_form/contact_form.php
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
require_once("config.php");
|
||||
if(isset($_POST["action"]) && $_POST["action"]=="contact_form")
|
||||
{
|
||||
ob_start();
|
||||
//contact form
|
||||
require_once("../phpMailer/PHPMailerAutoload.php");
|
||||
$result = array();
|
||||
$result["isOk"] = true;
|
||||
if($_POST["name"]!="" && $_POST["name"]!=_def_name && $_POST["email"]!="" && $_POST["email"]!=_def_email && preg_match("#^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,12})$#", $_POST["email"]) && $_POST["message"]!="" && $_POST["message"]!=_def_message)
|
||||
{
|
||||
$values = array(
|
||||
"name" => $_POST["name"],
|
||||
"subject" => $_POST["subject"],
|
||||
"email" => $_POST["email"],
|
||||
"message" => $_POST["message"]
|
||||
);
|
||||
if((bool)ini_get("magic_quotes_gpc"))
|
||||
$values = array_map("stripslashes", $values);
|
||||
$values = array_map("htmlspecialchars", $values);
|
||||
|
||||
$mail=new PHPMailer();
|
||||
|
||||
$mail->CharSet='UTF-8';
|
||||
|
||||
$mail->SetFrom(_to_email, _to_name);
|
||||
$mail->AddAddress(_to_email, _to_name);
|
||||
$mail->AddReplyTo($values["email"], $values["name"]);
|
||||
|
||||
$smtp=_smtp_host;
|
||||
if(!empty($smtp))
|
||||
{
|
||||
$mail->IsSMTP();
|
||||
$mail->SMTPAuth = true;
|
||||
//$mail->SMTPDebug = 2;
|
||||
$mail->Host = _smtp_host;
|
||||
$mail->Username = _smtp_username;
|
||||
$mail->Password = _smtp_password;
|
||||
if((int)_smtp_port>0)
|
||||
$mail->Port = (int)_smtp_port;
|
||||
$mail->SMTPSecure = _smtp_secure;
|
||||
}
|
||||
|
||||
$mail->Subject = (isset($values["subject"]) && $values["subject"]!="" && $values["subject"]!=_def_subject ? $values["subject"] : _subject_email);
|
||||
$mail->MsgHTML(include("../contact_form/template.php"));
|
||||
|
||||
if($mail->Send())
|
||||
$result["submit_message"] = _msg_send_ok;
|
||||
else
|
||||
{
|
||||
$result["isOk"] = false;
|
||||
$result["submit_message"] = _msg_send_error;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$result["isOk"] = false;
|
||||
if($_POST["name"]=="" || $_POST["name"]==_def_name)
|
||||
$result["error_name"] = _msg_invalid_data_name;
|
||||
if($_POST["email"]=="" || $_POST["email"]==_def_email || !preg_match("#^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,12})$#", $_POST["email"]))
|
||||
$result["error_email"] = _msg_invalid_data_email;
|
||||
if($_POST["message"]=="" || $_POST["message"]==_def_message)
|
||||
$result["error_message"] = _msg_invalid_data_message;
|
||||
}
|
||||
$system_message = ob_get_clean();
|
||||
$result["system_message"] = $system_message;
|
||||
echo @json_encode($result);
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
17
pressroom/www/html/contact_form/template.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
ob_start();
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<div><b>Name</b>: <?php echo $values["name"]; ?></div>
|
||||
<div><b>E-mail</b>: <?php echo $values["email"]; ?></div>
|
||||
<div><b>Message</b>: <?php echo nl2br($values["message"]); ?></div>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
return($content);
|
||||
?>
|
||||
1606
pressroom/www/html/default.html
Normal file
2173
pressroom/www/html/home.html
Normal file
2105
pressroom/www/html/home_2.html
Normal file
1958
pressroom/www/html/home_3.html
Normal file
1840
pressroom/www/html/home_4.html
Normal file
1994
pressroom/www/html/home_5.html
Normal file
2036
pressroom/www/html/home_6.html
Normal file
2058
pressroom/www/html/home_7.html
Normal file
BIN
pressroom/www/html/images/backgrounds/images/image_1.jpg
Normal file
|
After Width: | Height: | Size: 356 KiB |
BIN
pressroom/www/html/images/backgrounds/images/image_2.jpg
Normal file
|
After Width: | Height: | Size: 614 KiB |
BIN
pressroom/www/html/images/backgrounds/images/image_3.jpg
Normal file
|
After Width: | Height: | Size: 398 KiB |
BIN
pressroom/www/html/images/backgrounds/images/image_4.jpg
Normal file
|
After Width: | Height: | Size: 214 KiB |
BIN
pressroom/www/html/images/backgrounds/images/image_5.jpg
Normal file
|
After Width: | Height: | Size: 298 KiB |
BIN
pressroom/www/html/images/backgrounds/images/overlay.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_1.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_10.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_2.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_3.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_4.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_5.png
Normal file
|
After Width: | Height: | Size: 77 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_6.png
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_7.png
Normal file
|
After Width: | Height: | Size: 1002 B |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_8.png
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
pressroom/www/html/images/backgrounds/patterns/pattern_9.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/app.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/calendar.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/chart.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/chat.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/clock.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/app.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/calendar.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/chart.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/chat.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/clock.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/database.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/document.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/envelope.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/faq.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/graph.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/image.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/laptop.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/magnifier.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/mobile.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/pin.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/printer.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/quote.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/screen.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/speaker.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/dark_bg/video.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/database.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/document.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/envelope.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/faq.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/graph.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/app.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/chart.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/chat.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/clock.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/faq.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/graph.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/image.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/pin.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/quote.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/high_contrast/video.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/image.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/laptop.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pressroom/www/html/images/icons/features/magnifier.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
pressroom/www/html/images/icons/features/mobile.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |