<?php
if(!$_POST) exit;
// Email address verification, do not edit.
function isEmail($email) {
return(preg_match("/^[-_.[:alnum:]]+@((([[:alnum:]]|[[:alnum:]][[:alnum:]-]*[[:alnum:]])\.)+(ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$/i",$email));
}
if (!defined("PHP_EOL")) define("PHP_EOL", "\r\n");
$first_name = $_POST['first_name'];
$last_name = $_POST['last_name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$select_price = $_POST['select_price'];
$select_service = $_POST['select_service'];
$subject = $_POST['subject'];
$comments = $_POST['comments'];
$verify = $_POST['verify'];
if(trim($first_name) == '') {
echo '<div class="error_message">Attention! You must enter your name.</div>';
exit();
} else if(trim($email) == '') {
echo '<div class="error_message">Attention! Please enter a valid email address.</div>';
exit();
} else if(!isEmail($email)) {
echo '<div class="error_message">Attention! You have enter an invalid e-mail address, try again.</div>';
exit();
}
if(trim($comments) == '') {
echo '<div class="error_message">Attention! Please enter your message.</div>';
exit();
}
if(get_magic_quotes_gpc()) {
$comments = stripslashes($comments);
}
// Configuration option.
// Enter the email address that you want to emails to be sent to.
// Example $address = "joe.doe@yourdomain.com";
//$address = "example@themeforest.net";
$address = "example@yourdomain.com";
// Configuration option.
// i.e. The standard subject will appear as, "You've been contacted by John Doe."
// Example, $e_subject = '$name . ' has contacted you via Your Website.';
$e_subject = 'You\'ve been contacted by ' . $first_name . '.';
// Configuration option.
// You can change this if you feel that you need to.
// Developers, you may wish to add more fields to the form, in which case you must be sure to add them here.
$e_body = "You have been contacted by $first_name. $first_name selected service of $select_service, their additional message is as follows. Customer max budge is $select_price, for this project." . PHP_EOL . PHP_EOL;
$e_content = "\"$comments\"" . PHP_EOL . PHP_EOL;
$e_reply = "You can contact $first_name via email, $email or via phone $phone";
$msg = wordwrap( $e_body . $e_content . $e_reply, 70 );
$headers = "From: $email" . PHP_EOL;
$headers .= "Reply-To: $email" . PHP_EOL;
$headers .= "MIME-Version: 1.0" . PHP_EOL;
$headers .= "Content-type: text/plain; charset=utf-8" . PHP_EOL;
$headers .= "Content-Transfer-Encoding: quoted-printable" . PHP_EOL;
if(mail($address, $e_subject, $msg, $headers)) {
// Email has sent successfully, echo a success page.
echo "<fieldset>";
echo "<div id='success_page'>";
echo "<h1>Email Sent Successfully.</h1>";
echo "<p>Thank you <strong>$first_name</strong>, your message has been submitted to us.</p>";
echo "</div>";
echo "</fieldset>";
} else {
echo 'ERROR!';
}
没有合适的资源?快使用搜索试试~ 我知道了~
游戏音乐娱乐类网站源码-足球联赛官网活动响应式网页模板-适配手机端.zip
共189个文件
png:73个
jpg:45个
css:15个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 35 浏览量
2024-03-25
08:49:53
上传
评论
收藏 33.7MB ZIP 举报
温馨提示
面向数字娱乐市场的HTML网站源码,为开发提速。这份源码针对娱乐游戏音乐领域,提供即用型解决方案,减少从头开发的繁琐流程。精心设计的界面与用户交互元素,保证吸引目标用户群体。集成的音乐播放功能,提升用户体验。使用这份源码,可显著缩短项目开发周期,加速产品上市时间。选择它,提高工作效率,快速实现业务目标。
资源推荐
资源详情
资源评论
收起资源包目录
游戏音乐娱乐类网站源码-足球联赛官网活动响应式网页模板-适配手机端.zip (189个子文件)
bootstrap.css 143KB
bootstrap.min.css 118KB
animate.css 55KB
custom.css 41KB
style.css 37KB
font-awesome.css 34KB
font-awesome.min.css 28KB
bootstrap-theme.css 26KB
bootstrap-theme.min.css 23KB
prettyPhoto.css 19KB
responsive.css 9KB
owl.carousel.css 3KB
flaticon.css 3KB
flaticon.css 3KB
3dslider.css 2KB
fontawesome-webfont.eot 75KB
Flaticon.eot 21KB
glyphicons-halflings-regular.eot 20KB
loading-img.gif 113KB
loader.gif 6KB
ajax-loader.gif 3KB
loader.gif 2KB
loader.gif 2KB
loader.gif 2KB
loader.gif 2KB
loader.gif 2KB
default_thumbnail.gif 227B
default_thumbnail.gif 227B
default_thumbnail.gif 227B
default_thumbnail.gif 227B
default_thumbnail.gif 227B
index.html 34KB
flaticon.html 34KB
single-blog.html 32KB
blog.html 30KB
about.html 21KB
team.html 19KB
news.html 19KB
contact.html 18KB
about.jpeg 602KB
Sports_ball__twitter_.jpg 5.82MB
img-02_003.jpg 1.18MB
main-slider-img1.jpg 1.11MB
walle.jpg 1MB
Blonde-Soccer-Ball-Football-Baby-1800x2880.jpg 965KB
img-01_002.jpg 828KB
preview.jpg 604KB
img-07.jpg 583KB
img-03_003.jpg 526KB
bg1.jpg 464KB
img3.jpg 411KB
img2.jpg 396KB
match-banner1.jpg 273KB
cyling.jpg 260KB
img-05.jpg 204KB
img-01_004.jpg 195KB
img-03_002.jpg 192KB
img-06.jpg 183KB
1.jpg 176KB
img1.jpg 168KB
img-04.jpg 156KB
img-08.jpg 131KB
8.jpg 122KB
img-02_002.jpg 110KB
img-01_003.jpg 102KB
img-04_002.jpg 69KB
5.jpg 60KB
img-05_002.jpg 54KB
img-03.jpg 52KB
111.jpg 44KB
23.jpg 40KB
72.jpg 40KB
img-01.jpg 40KB
img-02.jpg 38KB
82.jpg 37KB
62.jpg 35KB
33.jpg 29KB
img-1-2.jpg 22KB
img-1-4.jpg 21KB
img-1-1.jpg 20KB
img-2-3.jpg 15KB
img-2-2.jpg 14KB
img-1-3.jpg 14KB
img-2-4.jpg 12KB
img-2-1.jpg 9KB
all.js 279KB
owl.carousel.js 83KB
jquery.prettyPhoto.js 21KB
scroll.js 18KB
jquery.vide.js 12KB
animate.js 9KB
custom.js 9KB
modernizer.js 8KB
retina.js 7KB
hoverdir.js 5KB
portfolio.js 2KB
map.js 1KB
3dslider.js 1KB
bootstrap.min.css.map 529KB
bootstrap.css.map 380KB
共 189 条
- 1
- 2
资源评论
DTcode7
- 粉丝: 3553
- 资源: 4071
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (2005-2014期间)中国环境统计年鉴
- 2015高中信息技术excel操作题及素材(精品文档).xls
- SW3518S全协议快充USB Type-c接口电源模块硬件参考设计评估版硬件(原理图 +pcb)+封装库文件.zip
- 基于深度强化学习算法实现多星对区域目标观测的规划python源码+数据集+模型+超详细注释.zip
- RT1052+SDRAM(IS42S16160) +SIM7600CE(PCIE接口封装)控制板硬件(原理图+PCB)+封装库
- 2017大学英语四级词汇-excel-列表版(精品文档).xls
- 2017版国家医保药品目录(excel版)完整版.xls
- 基于STM32F103单片机设计的无刷电机控制板硬件(原理图+PCB+BOM)+MCU软件控制源码+文档资料.zip
- 肺结节检测数据集VOC+YOLO格式1186张1类别.zip
- Faster-RCNN基于知识蒸馏的目标检测模型增量深度学习方法python源码+项目运行说明.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功