<?php
// Only process POST reqeusts.
if ($_SERVER["REQUEST_METHOD"] == "POST") {
// Get the form fields and remove whitespace.
$name = strip_tags(trim($_POST["name"]));
$name = str_replace(array("\r","\n"),array(" "," "),$name);
$email = filter_var(trim($_POST["email"]), FILTER_SANITIZE_EMAIL);
$message = trim($_POST["message"]);
// Check that data was sent to the mailer.
if ( empty($name) OR empty($message) OR !filter_var($email, FILTER_VALIDATE_EMAIL)) {
// Set a 400 (bad request) response code and exit.
http_response_code(400);
echo "Please complete the form and try again.";
exit;
}
// Set the recipient email address.
// FIXME: Update this to your desired email address.
$recipient = "[email protected]";
// Set the email subject.
$subject = "New contact from $name";
// Build the email content.
$email_content = "Name: $name\n";
$email_content .= "Email: $email\n\n";
$email_content .= "Message:\n$message\n";
// Build the email headers.
$email_headers = "From: $name <$email>";
// Send the email.
if (mail($recipient, $email_content, $email_headers)) {
// Set a 200 (okay) response code.
http_response_code(200);
echo "Thank You! Your message has been sent.";
} else {
// Set a 500 (internal server error) response code.
http_response_code(500);
echo "Oops! Something went wrong and we couldn't send your message.";
}
} else {
// Not a POST request, set a 403 (forbidden) response code.
http_response_code(403);
echo "There was a problem with your submission, please try again.";
}
?>
没有合适的资源?快使用搜索试试~ 我知道了~
企业级网站源码-数字设计营销机构网页模板-响应式适配移动端.zip
共228个文件
jpg:136个
png:43个
css:15个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 38 浏览量
2024-03-24
15:01:26
上传
评论
收藏 11.07MB ZIP 举报
温馨提示
打造企业级网站卓越数字体验,引领业务发展潮流! 响应式设计 — 采用最新响应式网页设计技术,确保网站在各种屏幕尺寸和设备上均提供无缝浏览体验,无论用户使用桌面电脑、平板还是智能手机。 现代化UI/UX — 遵循现代网页设计和用户体验原则,这份源码利用干净的布局、优化的交互和引人入胜的视觉效果,为用户提供前沿的网络互动。 高度模块化 — HTML结构清晰,CSS和JavaScript分离,便于开发者进行定制化开发和功能扩展,无需担心后期维护和更新问题。 SEO优化 — 内置SEO最佳实践,包括元标签管理、清晰的导航结构和语义化的HTML5元素,助力网站在搜索引擎中排名提升,增加自然流量。 作为专业的程序员,了解高效、稳定且具有良好扩展性的网站架构对业务至关重要。这份企业级网站HTML源码将为你提供稳固的技术基础,让你的网站项目快速上线,同时保持长期的可维护性和可扩展性。
资源推荐
资源详情
资源评论
收起资源包目录
企业级网站源码-数字设计营销机构网页模板-响应式适配移动端.zip (228个子文件)
bootstrap.min.css 119KB
corporate.css 76KB
ionicons.min.css 50KB
plugins.css 32KB
font-awesome.min.css 30KB
restaurant.css 17KB
minimal.css 16KB
default.css 13KB
photography.css 13KB
creative.css 12KB
header.css 7KB
et-line.css 7KB
buttons.css 4KB
responsive.css 1KB
style.css 1KB
fontawesome-webfont.eot 162KB
ionicons.eot 118KB
et-line.eot 32KB
ajax-loader.gif 4KB
corporate-3.html 28KB
corporate-1.html 25KB
corporate-blog-details.html 23KB
corporate-about.html 21KB
corporate-blog.html 20KB
corporate-portfolio-4-column.html 17KB
corporate-2.html 16KB
corporate-service.html 16KB
corporate-portfolio-3-column.html 15KB
corporate-portfolio-details.html 12KB
corporate-contact.html 12KB
favicon.ico 1KB
dishes-menu-section.jpg 394KB
3.jpg 285KB
2.jpg 237KB
1.jpg 212KB
4.jpg 204KB
4.jpg 197KB
big-4.jpg 191KB
page-banner-bg.jpg 189KB
1.jpg 182KB
1.jpg 166KB
2.jpg 162KB
hero.jpg 161KB
big-6.jpg 160KB
1.jpg 148KB
big-2.jpg 141KB
big-4.jpg 132KB
2.jpg 131KB
1.jpg 127KB
big-3.jpg 125KB
5.jpg 122KB
2.jpg 114KB
4.jpg 109KB
1.jpg 109KB
5.jpg 105KB
6.jpg 104KB
6.jpg 101KB
3.jpg 97KB
big-6.jpg 97KB
3.jpg 96KB
3.jpg 93KB
testimonial.jpg 93KB
6.jpg 93KB
1.jpg 91KB
big-1.jpg 88KB
1.jpg 88KB
footer.jpg 88KB
big-5.jpg 87KB
3.jpg 86KB
4.jpg 85KB
5.jpg 83KB
big-3.jpg 82KB
big-7.jpg 82KB
big-1.jpg 79KB
big-5.jpg 78KB
1.jpg 76KB
big-9.jpg 75KB
details-1.jpg 75KB
4.jpg 72KB
1.jpg 71KB
1.jpg 70KB
3.jpg 68KB
1.jpg 65KB
big-1.jpg 65KB
2.jpg 62KB
2.jpg 60KB
big-7.jpg 60KB
big-2.jpg 59KB
about.jpg 59KB
25.jpg 59KB
3.jpg 57KB
big-2.jpg 56KB
1.jpg 56KB
5.jpg 56KB
big-8.jpg 55KB
13.jpg 54KB
1.jpg 53KB
details-2.jpg 51KB
big-8.jpg 49KB
4.jpg 47KB
共 228 条
- 1
- 2
- 3
资源评论
DTcode7
- 粉丝: 5137
- 资源: 4174
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功