最新发布
-
代码|自适应资源网文字广告代码 网站炫彩虚框文字代码广告 在为找不到合适的文字广告代码发愁?安鹿为您精心准备了这款自适应资源网文字广告代码 ,无需繁琐调试,零技术门槛,真正实现 拿来就能用 !无论是新手站长还是运营老手,都能轻松部署,快速上线广告位,高效提升变现效率。 maghjfrl.png图片 上传Joe主题usr/themes/Joe/index.php的129行后面 ma0ob4lh.png图片 <style type="text/css"> .tp-ad-text1 {width:100%;padding-top:6px;box-sizing:border-box;overflow: hidden;background: rgba(255,255,255,.2);} .tp-ad-text1 a {color:#7fba00;font-size:14px;line-height:38px;text-align:center;border:1px dashed rgba(0,0,0,.2);padding:0 3px;box-sizing:border-box;float:left;width:11.5%;height:38px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0.5% 6px;text-decoration:none;transition:all .6s;} .tp-ad-text1 a:hover {font-weight: bold;color:#fff!important;background:#7fba00;transition: all .6s;} .tp-ad-text1 a:nth-child(2n) {color:#f74e1e;} .tp-ad-text1 a:nth-child(2n):hover {background:#f74e1e;border-color: #f74e1e;} .tp-ad-text1 a:nth-child(3n) {color:#00a4ef;} .tp-ad-text1 a:nth-child(3n):hover {background:#00a4ef;border-color: #00a4ef;} .tp-ad-text1 a:nth-child(4n) {color:#0517c2;} .tp-ad-text1 a:nth-child(4n):hover {background:#0517c2;border-color: #0517c2;} .tp-ad-text1 a:nth-child(5n) {color:#601165;} .tp-ad-text1 a:nth-child(5n):hover {background:#601165;border-color: #601165;} .tp-ad-text1 a:nth-child(6n) {color:#ffb900;} .tp-ad-text1 a:nth-child(6n):hover {background:#ffb900;border-color: #ffb900;} .tp-ad-text1 a:nth-child(7n) {color:#0fc317;} .tp-ad-text1 a:nth-child(7n):hover {background:#0fc317;border-color: #0fc317;} .tp-ad-text1 a:nth-child(8n) {color:#601165;} .tp-ad-text1 a:nth-child(8n):hover {background:#601165;border-color: #601165;} .tp-ad-text1 a:nth-child(9n) {color:#fba78f;} .tp-ad-text1 a:nth-child(9n):hover {background:#fba78f;border-color: #fba78f;} .tp-ad-text1 a:nth-child(10n) {color:#13cf8f;} .tp-ad-text1 a:nth-child(10n):hover {background:#13cf8f;border-color: #13cf8f;} .tp-ad-text1 a:nth-child(11n) {color:#f74e1e;} .tp-ad-text1 a:nth-child(11n):hover {background:#f74e1e;border-color: #f74e1e;} .tp-ad-text1 a:nth-child(12n) {color:#ffb900;} .tp-ad-text1 a:nth-child(12n):hover {background:#ffb900;border-color: #ffb900;} .tp-ad-text1 a:nth-child(13n) {color:#fba78f;} .tp-ad-text1 a:nth-child(13n):hover {background:#fba78f;border-color: #fba78f;} .tp-ad-text1 a:nth-child(14n) {color:#f74e1e;} .tp-ad-text1 a:nth-child(14n):hover {background:#f74e1e;border-color: #f74e1e;} .tp-ad-text1 a:nth-child(15n) {color:#7fba00;} .tp-ad-text1 a:nth-child(15n):hover {background:#7fba00;border-color: #7fba00;} .tp-ad-text1 a:nth-child(16n) {color:#0fc317;} .tp-ad-text1 a:nth-child(16n):hover {background:#0fc317;border-color: #0fc317;} .tp-ad-text1 a:nth-child(17n) {color:#0517c2;} .tp-ad-text1 a:nth-child(17n):hover {background:#0517c2;border-color: #0517c2;} .tp-ad-text1 a:nth-child(18n) {color:#13cf8f;} .tp-ad-text1 a:nth-child(18n):hover {background:#13cf8f;border-color: #13cf8f;} .tp-ad-text1 a:nth-child(19n) {color:#ffb900;} .tp-ad-text1 a:nth-child(19n):hover {background:#ffb900;border-color: #ffb900;} .tp-ad-text1 a:nth-child(20n) {color:#f74e1e;} .tp-ad-text1 a:nth-child(20n):hover {background:#f74e1e;border-color: #f74e1e;} @media screen and (max-width: 1198px){ .tp-ad-text1 a{ width: 24%; } } </style> <div class="tp-ad-text1"> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> <a href="/" title="广告位/10/月" target="_blank">广告位/10/月</a> </div> -
2025最新总裁导航系统源码 全新重构版强势回归 开心学习版 源码简介 导航系统DHPro4.1.3开心版 支持网址收录 + 文章系统 + 自助广告系统支持已收录的站点最新点入排首位功能【就是你的站点已经收录后做好友链或者怎么样只要从你站点点入进入到导航系统的, 你的收录的站点就会排在首位】,最新的 4.1.5 版本好像还支持附件下载功能, 相当于网址收录 + 文章系统 + 下载系统 + 自助广告系统于一身的 仅供学习研究代码之用,有需要的可以支持下正版,好像也不贵几十块钱 m9tlrag6.png图片 m9tlrnjd.png图片 m9tlsaew.png图片 导航猫 下载地址:https://www.ilanzou.com/s/O7v0A7ZK 提取码: -
2025新版易支付系统源码epay运营版/轮询/投诉/进件 源码简介 2025新版易支付系统源码epay运营版/轮询/投诉/进件。全面集成主流支付渠道,为企业提供解决收款付款结算营销;聚合支付,支付宝免签约即时到账,财付通免签约,微信免签约支付,QQ钱包免签约,免签约支付;用户提交订单后,通过扫描相应的二维码直接支付,资金直达您的支付宝、微信账户或商户账户中,并自动回调上分,无需公司资质免签约,即时到账;全响应式界面,简易操作,安全便利快捷。对接行业内最优质的多家支付接口,全力保障业务流畅, 让支付接口开发更加简单方便; bfce8d1c5f931b9dbc8d0a8eb3b2fc63.jpg图片易支付 下载地址:https://www.ilanzou.com/s/VGP0A7YT 提取码: -
Typecho博客 更换网站域名后必须执行的数据库 SQL 语句 由于 Typecho 系统限定,附件上传后在日志中引用时通常是一个完整的URL地址,这就导致在网站域名发生更替时日志内的附件地址依旧是采用旧域名,从而出现图片等无法显示的问题。我们可以数据库操作中使用SQL语句来进行修改,省去每篇日志重新编辑的麻烦。 以下为部分 SQL 语句,可以在数据库中进行操作。(注意:执行之前请先进行数据备份!!!,数据量大的话有可能出现卡死。) SQL语句作用 修改网站设置里的域名 一键替换文章的域名 将管理员的个人网站进行替换 一键替换评论中的域名 一键替换评论中的名称 一键替换评论中的邮箱 # 修改网站设置里的域名: UPDATE `typecho_options` SET `value` = '新域名' WHERE `typecho_options`.`name` = 'siteUrl' AND `typecho_options`.`user` = 0; # 替换文章的域名 UPDATE `typecho_contents` SET `text` = REPLACE(`text`,'原域名','新域名'); # 将管理员的个人网站进行替换 UPDATE `typecho_users` SET `url` = REPLACE(`url`,'原域名','新域名'); # 替换评论中的域名 UPDATE `typecho_comments` SET `url` = REPLACE(`url`,'原域名','新域名'); UPDATE `typecho_comments` SET `text` = REPLACE(`text`,'原域名','新域名'); # 替换评论中的名称 UPDATE `typecho_comments` SET `author` = REPLACE(`author`,'原名称','新名称'); # 替换评论中的邮箱 UPDATE `typecho_comments` SET `mail` = REPLACE(`mail`,'原邮箱','新邮箱'); -
一键将WordPress数据转到Typecho的插件 WordpressToTypecho 将 Wordpress 数据库中的数据转换到 Typecho 中(就是 Typecho 官网的插件,不过官网那个测试有点问题,下了 Github 的版本测试没有问题,同时某人也简单优化了下界面,为了做区分版本号某人写成了1.0.4) 使用教程 下载插件 上传到 /usr/plugins 目录中 访问后台,在 “控制台” 下拉菜单中进入 “插件管理” 激活 wordpresstotypecho 插件 点击 wordpresstotypecho 插件的 “设置” 进入配置 填写 wordpress 的数据库及用户名等信息,保存设置 在“控制台”下来菜单中会出现 “从Wordpress导入数据” ,选中 完成导入,如果失败请确认您的数据库等设置。在完成导入之后可以禁用该插件,对其他功能没有任何影响。 注意 这里个只会转换数据库,图片等附件需要手动将 wp-content/uploads 下的文件夹移动到 typecho 的 usr/uploads 文件夹下,然后使用数据库语句替换文章内容中的图片以及附件地址。 UPDATE `typecho_contents` SET `text` = replace(text, 'http://你的域名/wp-content/uploads', 'http://你的域名/usr/uploads');插件下载 下载地址:https://www.ilanzou.com/s/1qXyqzn7 提取码: -
Typecho博客 定时发布每天60秒读懂世界 所见即所得 不废话了 直接丢代码把 不想说了 使用教程 - 复制下方代码保存到 typecho 的任意一个目录 推荐创建一个 60s 文件夹然后新建一个 index.php 的文件 把代码丢进去 代码里面需要修改的地方我已经给你们标注出来了 添加宝塔定时任务 任务类型:访问url 任务名称:随便设置 执行周期:每天 7 小时 30 分钟 脚本内容:就是你的域名/60s 保存完事 要是 https 协议的用宝塔的 shell 命令代码里面写以下代码 #!/bin/bash # 要访问的 HTTPS 链接 url="你的文件链接" # 使用 curl 访问链接 curl -k $url推荐以下代码弄 <?php $apiUrl = 'http://api.suxun.site/api/sixs?type=json'; $response = file_get_contents($apiUrl); $data = json_decode($response, true); if ($data['code'] === '200') { $dbHost = '127.0.0.1'; $dbUser = '数据库名'; $dbPass = '数据库密码'; $dbName = '数据库名'; $conn = new mysqli($dbHost, $dbUser, $dbPass, $dbName); if ($conn->connect_error) { die("连接失败: ". $conn->connect_error); } $categoryName = '你需要的分类名称'; $sqlGetCategoryId = "SELECT mid FROM `typecho_metas` WHERE `type`='category' AND `name`='$categoryName'"; $result = $conn->query($sqlGetCategoryId); if ($result && $result->num_rows > 0) { $row = $result->fetch_assoc(); $categoryId = $row['mid']; } else { die("无法找到指定分类的 ID。"); } $sqlGetLastCid = "SELECT MAX(CAST(SUBSTRING(cid, 1) AS UNSIGNED)) AS last_cid FROM `typecho_contents`"; $resultLastCid = $conn->query($sqlGetLastCid); $lastCid = 0; if ($resultLastCid && $resultLastCid->num_rows > 0) { $rowLastCid = $resultLastCid->fetch_assoc(); $lastCid = $rowLastCid['last_cid']? $rowLastCid['last_cid'] + 1 : 1; } $date = date('Y 年 n 月 j 日,l'); $title = $date. ',每日 60 秒读懂世界'; $content = '<img src="'.$data['head_image'].'"><br>'; foreach ($data['news'] as $newsItem) { $content.= $newsItem.'<br>'; } $content.= '<br>'.$data['weiyu']; $tags = '每日 60 秒'; $cid = $lastCid; $slug = date('Ymd'); $sqlInsertPost = "INSERT INTO `typecho_contents` (`cid`, `title`, `slug`, `created`, `modified`, `text`, `order`, `authorId`, `template`, `type`, `status`, `password`, `commentsNum`, `allowComment`, `allowPing`, `allowFeed`, `parent`, `views`, `agree`) VALUES ('$cid', '$title', '$slug', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), '$content', '0', '1', NULL, 'post', 'publish', NULL, '0', '1', '1', '1', '0', '1', '0')"; if ($conn->query($sqlInsertPost) === TRUE) { $lastInsertId = $conn->insert_id; $sqlInsertRelation = "INSERT INTO `typecho_relationships` (`cid`, `mid`) VALUES ($lastInsertId, $categoryId)"; if ($conn->query($sqlInsertRelation) === TRUE) { echo "文章发布成功!"; } else { echo "Error inserting relationship: ". $conn->error; } } else { echo "Error inserting post: ". $sqlInsertPost. "<br>". $conn->error; } $conn->close(); } else { echo '获取 API 数据失败。'; } ?> 下载地址:https://github.com/xliaoy/Typecho-60snew 提取码: