代码实现评论显示操作系统和浏览器标识
1、首先找到主题根目录,打开 functions.php 文件,在函数区域(不是最顶端)粘贴下面的代码:
// 获取浏览器信息
function getBrowser($agent)
{
if (preg_match('/MSIE\s([^\s|;]+)/i', $agent, $regs)) {
$outputer = '';
} else if (preg_match('/FireFox\/([^\s]+)/i', $agent, $regs)) {
$str1 = explode('Firefox/', $regs[0]);
$FireFox_vern = explode('.', $str1[1]);
$outputer = '';
} else if (preg_match('/Maxthon([\d]*)\/([^\s]+)/i', $agent, $regs)) {
$str1 = explode('Maxthon/', $agent);
$Maxthon_vern = explode('.', $str1[1]);
$outputer = '';
} else if (preg_match('#360([a-zA-Z0-9.]+)#i', $agent, $regs)) {
$outputer = '';
} else if (preg_match('/Edge([\d]*)\/([^\s]+)/i', $agent, $regs)) {
$str1 = explode('Edge/', $regs[0]);
$Edge_vern = explode('.', $str1[1]);
$outputer = '';
} else if (preg_match('/UC/i', $agent)) {
$str1 = explode('rowser/', $agent);
$UCBrowser_vern = explode('.', $str1[1]);
$outputer = '';
} else if (preg_match('/QQ/i', $agent, $regs)||preg_match('/QQBrowser\/([^\s]+)/i', $agent, $regs)) {
$str1 = explode('rowser/', $agent);
$QQ_vern = explode('.', $str1[1]);
$outputer = '';
} else if (preg_match('/UBrowser/i', $agent, $regs)) {
$str1 = explode('rowser/', $agent);
$UCBrowser_vern = explode('.', $str1[1]);
$outputer = '';
} else if (preg_match('/Opera[\s|\/]([^\s]+)/i', $agent, $regs)) {
$outputer = '';
} else if (preg_match('/Chrome([\d]*)\/([^\s]+)/i', $agent, $regs)) {
$str1 = explode('Chrome/', $agent);
$chrome_vern = explode('.', $str1[1]);
$outputer = '';
} else if (preg_match('/safari\/([^\s]+)/i', $agent, $regs)) {
$str1 = explode('Version/', $agent);
$safari_vern = explode('.', $str1[1]);
$outputer = '';
} else{
$outputer = '';
}
echo $outputer;
}
// 获取操作系统信息
function getOs($agent)
{
$os = false;
if (preg_match('/win/i', $agent)) {
if (preg_match('/nt 6.0/i', $agent)) {
$os = ' ';
} else if (preg_match('/nt 6.1/i', $agent)) {
$os = ' ';
} else if (preg_match('/nt 6.2/i', $agent)) {
$os = ' ';
} else if(preg_match('/nt 6.3/i', $agent)) {
$os = ' ';
} else if(preg_match('/nt 5.1/i', $agent)) {
$os = ' ';
} else if (preg_match('/nt 10.0/i', $agent)) {
$os = ' ';
} else{
$os = ' ';
}
} else if (preg_match('/android/i', $agent)) {
if (preg_match('/android 9/i', $agent)) {
$os = ' ';
}
else if (preg_match('/android 8/i', $agent)) {
$os = ' ';
}
else{
$os = ' ';
}
}
else if (preg_match('/ubuntu/i', $agent)) {
$os = ' ';
} else if (preg_match('/linux/i', $agent)) {
$os = ' ';
} else if (preg_match('/iPhone/i', $agent)) {
$os = ' ';
} else if (preg_match('/mac/i', $agent)) {
$os = ' ';
}else if (preg_match('/fusion/i', $agent)) {
$os = ' ';
} else {
$os = ' ';
}
echo $os;
}
2、comments.php 中找到合适位置(比如评论作者的后面)添加以下代码:
<!-- 输出操作系统、浏览器版本 -->
<span class="comment-ua">
<?php getOs($comments->agent); ?> I
<?php getBrowser($comments->agent); ?></span>
<!-- 输出操作系统、浏览器版本 -->3、css样式自行引用到主题,图标路径自行修改请看css代码
4、然后刷新页面就可以看到UA信息显示出来了
操作系统和浏览器标识UA图标CSS代码下载

此处内容需要评论回复后(审核通过)方可阅读。
最后更新 2023-04-12

Votre guide parifoot rd congo: picks quotidiens, cotes comparees, tickets securises, gestion de mise, cash-out et promos. Depots via mobile money, retraits rapides, support francophone. LINAFOOT, CAF, ligues europeennes. Pariez avec moderation.
Покупка квартиры https://piterdomovoy.ru «под ключ»: новостройки бизнес/комфорт-класса и надёжная вторичка. Аналитика цен, динамика сдачи, инфраструктура. Ипотека, субсидии, маткапитал. Юридический аудит, безопасные расчёты, регистрация сделки онлайн. Переезд без забот.
看看
还怎不知道怎么开启
我也来看看
看看看
看看隐藏
踩踩
这咋用
教程很详细了
好棒👍
好玩
看看👀
看看
来偷文章了
我要看看
creatine fasted
Legal steroids have not brought on any virilization-related side effects in our feminine patients.
Nevertheless, we recommend buying from a trustworthy model to make sure you are
getting genuine legal steroid options (instead of a spiked product).
To guarantee the effectiveness of the authorized steroids we suggest, we assessed the scientific proof supporting every ingredient.
Legal steroids are produced from one hundred pc all-natural components,
which is why they're recognized to be safe and cause minimal to no unwanted facet effects.
The Ultimate Stack is a combination of six different dietary
supplements designed to help with muscle development, fats loss, and total
health. We have proof to recommend that Crazy Bulk’s authorized steroids do work, primarily based on our anecdotal experience of
sufferers trying their supplements. Loopy Bulk additionally
has thousands of verified customer critiques on third-party platforms and optimistic feedback
on social media profiles. HGH is a protein hormone that's naturally secreted by the pituitary gland.
Bodybuilders usually take HGH in exogenous form to increase HGH manufacturing, rising muscle mass and fats loss.
Though not the most powerful of steroids, Deca is usually
utilized by bodybuilders to reinforce the gains from other bulking steroids.
To gauge the general value of every authorized steroid, we thought of elements similar to effectiveness, safety,
formula transparency, manufacturer reputation, and worth.
The strongest legal steroid stack includes 2-4 natural dietary supplements that each provide their very own advantages.
The top steroid stacks are discovered on CrazyBulk web site, and are a combination of legal steroids like Clenbutrol,
HGH-X2, and D-Bal.
If you have received the time, nothing will beat an excellent exercise routine and diet!
As A Substitute of relying on anabolic steroids or different muscle-building supplements, take the time you will need and comply with these fast tips
for natural steroid alternatives. Don't stop at intense workouts, and stick with a wholesome and balanced food regimen. Out of all of the options on our review of the highest
legal steroid options, D-Bal works one of the best for the bulking section.
Whereas the pill accommodates caffeine, it's nothing that individuals who work out often haven't
skilled earlier than. As somebody who values their well being and well-being, I highly suggest D-Bal Max as top-of-the-line legal steroid
alternate options out there in the marketplace. Are you in search of potent,
safe dietary supplements that mimic steroids the
most?
Nonsteroidal Oral Medications When inhaler therapy isn’t doing enough to handle bronchial
asthma, oral medicines might come into play, says Dr. Poole.
These can embrace leukotriene modifiers similar to montelukast (Singulair), zafirlukast (Accolate), and zileuton (Zyflo).
Another option is theophylline (Theo-24, Elixophyllin, Theochron), a daily capsule that helps keep the
airways open by enjoyable the muscle tissue around the airways, according
to Mayo Clinic. Authorized steroids are supplements which may be legal to buy and use in most international locations,
together with the UK. However, it is necessary to notice
that there are laws that regulate the sale and use of those dietary supplements.
We evaluated the price of each authorized steroid different to ensure it provides worth for money.
We favored merchandise that are competitively priced without compromising on high quality.
Clenbutrol is a authorized various to Clenbuterol, a steroid
used by bodybuilders and athletes in their slicing section to burn fat and obtain a lean physique.
He closely examined research that compared the efficacy of a Chinese herbal compound
designated ASHMI, or anti-asthma natural medical intervention,
with that of prednisone in treating bronchial asthma 1.
ASHMI is made up of gang-cao, or radix glycyrrhizae; ku-shen, or radix sophorae flavescentis; and ling-zhi,
or ganoderma. When used persistently with regular exercise and a healthy diet, these legal steroids provide effective bennefits that lead to
impressive results. We assessed the status of every producer to ensure they've a history of manufacturing
high-quality dietary supplements.
Many of these dietary supplements also include ingredients
that assist overall health and wellbeing, making them a fantastic selection for anyone looking to enhance their physical
performance and body composition. This is an herbal supplement blend made
of all-natural components that's in style amongst bodybuilders.
Winsol contains acetyl-L-carnitine, choline, wild yam, DMAE,
and safflower oil. Instead of using anabolic steroids, Winsol is most
likely going your greatest wager for naturally improving your testosterone manufacturing, muscular health, and athletic efficiency.
TestoPrime is certainly one of the most effective steroid supplements available
on the market for improving your bodybuilding game by supporting
hormonal stability in your body. It contains 12 scientifically researched ingredients that assist enhance testosterone levels,
support weight loss, and increase muscle gains.
HGH-X2 is a legal and protected different to anabolic steroids that is
changing into more and more well-liked amongst health fanatics.
There are two totally different varieties of legal steroids that you should find out about.
The first type is used that can help you grow and keep your
lean muscle mass, whereas the second kind will assist you to burn fat.
By thoroughly reviewing the safety profile of each
ingredient within the supplements, we minimized the chance of unwanted effects.
We only advocate legal steroids containing protected elements when taken as
directed. Our in depth review of printed studies, medical
trials, and scientific literature helped us decide the effectiveness of each ingredient found in authorized steroids.
Additionally, it incorporates Hawthorn Berry, which
supports improved cardiovascular health.(4) This natural steroid different works best when combined with common train and a healthy diet.
It is beneficial for anyone above the age of 18 who is keen about health, particularly bodybuilders and athletes.
These dietary dietary supplements all are available pill type, so it's easier for you
to take them. If you've a medical condition or take prescription medications, discuss to your physician before making an attempt any of these supplements.
When you are taking Anadrole, anticipate your physique to begin making more purple
blood cells to assist pace up your restoration. It Is important to
note that these supplements ought to be used in conjunction with a nutritious
diet and train program for good outcomes.
凑凑
CM
JV
TB
HL
GR
AD
CC
AM
beginner dianabol cycle
https://zeustrahub.osloop.com/read-blog/33247_all-you-need-to-know-about-anavar-and-check-cycles.html zeustrahub.osloop.com
https://sportsprojobs.net/employer/111965/top-7-testosterone-cycles-the-ultimate-stacking-information/ sportsprojobs.net
https://litvids.org/rickielongstaf https://litvids.org
http://famedoot.in/read-blog/94907_anavar-cycle-before-and-after-transformations-and-outcomes.html famedoot.in
https://freedost.com/read-blog/70780_anavar-before-and-after-what-bodybuilders-look-like-before-and-after-anavar-effe.html freedost.com
http://www.hyplus.net.cn/collinmcnamee4 http://www.hyplus.net.cn/collinmcnamee4
https://lovematch.com.tr/@kendraalden696 https://lovematch.com.tr/
https://code.openmobius.com:3001/gracebrassell5 https://code.openmobius.com
https://mp3diary.com/floyhammett136 https://mp3diary.com/floyhammett136
https://treezy.com.br/aldamyc859 treezy.com.br
http://bbs.xingxiancn.com/home.php?mod=space&uid=682803 http://bbs.xingxiancn.com/home.php?mod=space&uid=682803
https://itheadhunter.vn/jobs/companies/anavar-side-effects-in-females/ https://itheadhunter.vn/jobs/companies/anavar-side-effects-in-females/
https://www.youtoonetwork.com/youtootube/@rosemarytidwel?page=about https://www.youtoonetwork.com
https://cameotv.cc/@glindawolff723?page=about https://cameotv.cc/
https://stroijobs.com/employer/anavar-before-and-after-practical-outcomes-examined-for-health-enthusiasts/ stroijobs.com
https://git.hantify.ru/arielle15v2627 git.hantify.ru
https://www.folkd.com/submit/hub.theciu.vn/jaimiemcmann7/ https://www.folkd.com/submit/hub.theciu.vn/jaimiemcmann7/
https://bestbizportal.com/read-blog/156432_anavar-cycle-important-info-for-optimum-results-amp-utilization.html https://bestbizportal.com
dianabol only cycle for beginners
https://social.biblepay.org/read-blog/40519_wachstumshormon-ein-uberblick.html social.biblepay.org
https://git.saidomar.fr/lonnyxpq523517 https://git.saidomar.fr/lonnyxpq523517
https://gitea.mpc-web.jp/callumhernande gitea.mpc-web.jp
https://git.lokalix.de/terri77i587638 https://git.lokalix.de
https://git.saintdoggie.org/mallorygormans git.saintdoggie.org
https://karr83.world/read-blog/2725_sth-somatropes-hormon-somatotropin-medizin-und-gesundheit-im-web.html karr83.world
http://woorichat.com/read-blog/178342_wachstumshormon-hgh-laborwerte-verstehen.html woorichat.com
https://gitlab.grupolambda.info.bo/madonnaschlenk/6504jobspaceindia.com/-/issues/1 gitlab.grupolambda.info.bo
https://git.el-paco.com/meganhenslowe8 https://git.el-paco.com/
https://lavista.kbcgroupltd.com/@hollismonk8616 https://lavista.kbcgroupltd.com
https://git.connectplus.jp/sharyncorlette git.connectplus.jp
https://ralphouensanga.com/read-blog/47566_somatropin-pharmazeutisch-online-kaufen-preis-216-00-in-deutschland.html https://ralphouensanga.com
https://git.erdei-dev.hu/betsykbf152731 https://git.erdei-dev.hu/
http://www.mindepoch.com:9092/kristyvenn3578 http://www.mindepoch.com
https://deaddeaddead.store/owenskirving6 deaddeaddead.store
https://social.fluttercrafters.com/read-blog/773_was-ist-wachstumshormon-hgh-und-wie-beeinflusst-es-den-muskelaufbau.html social.fluttercrafters.com
https://gitea.gimmin.com/gertiemeacham9 gitea.gimmin.com
http://voicebot.digitalakademie-bw.de:3000/juliarollins37/jobspaceindia.com5525/wiki/Was-sind-die-Funktionen-des-Wachstumshormon-Inhibitor-Hormons%3F voicebot.digitalakademie-bw.de
sustanon and dianabol cycle
https://lovebookmark.win/story.php?title=oral-administration-of-the-tripeptide-kpv-using-hyaluronic-acid-coated-nanocarriers-effectively-relieves-ulcer lovebookmark.win
http://humanlove.stream//index.php?title=carlsonfalkenberg6530 http://humanlove.stream//index.php?title=carlsonfalkenberg6530
http://www.annunciogratis.net/author/pigeonbead2 www.annunciogratis.net
https://reilly-bradshaw-2.mdwrite.net/kpv-peptide-revolutionizing-inflammation-immune-function-and-gut-wellness reilly-bradshaw-2.mdwrite.net
https://muhammad-ali.com.az/user/rugbyton53/ https://muhammad-ali.com.az/user/rugbyton53/
https://images.google.com.sv/url?q=https://www.valley.md/kpv-peptide-guide-to-benefits-dosage-side-effects https://images.google.com.sv/url?q=https://www.valley.md/kpv-peptide-guide-to-benefits-dosage-side-effects
https://a-taxi.com.ua/user/rugbygrease15/ a-taxi.com.ua
https://articlescad.com/key-performance-value-kpv-a-comprehensive-overview-242018.html articlescad.com
https://prpack.ru/user/rangemole90/ prpack.ru
https://rentry.co/347nmrqb rentry.co
https://www.google.ki/url?q=https://www.valley.md/kpv-peptide-guide-to-benefits-dosage-side-effects https://www.google.ki/
https://www.lanubedocente.21.edu.ar/profile/ulriksenrlnhu4076/profile www.lanubedocente.21.edu.ar
https://lyon-have-3.technetbloggers.de/guttides-foundations-of-functional-medicine lyon-have-3.technetbloggers.de
https://rentry.co/tqhc4mrr rentry.co
https://viewcinema.ru/user/bottomfemale6/ viewcinema.ru
https://prpack.ru/user/monthcrab4/ https://prpack.ru/user/monthcrab4
http://xn----8sbec1b1ad1ae2f.xn--90ais/user/sailorfield2/ --8sbec1b1ad1ae2f.бел
https://images.google.co.za/url?q=https://www.valley.md/kpv-peptide-guide-to-benefits-dosage-side-effects https://images.google.co.za/
dianabol only cycle reddit
https://glk-egoza.ru/user/karatepanty5/ How Long Is A Dianabol Cycle
https://nouvellessignet.space/item/405618 deca and dianabol cycle
https://lejournaldedubai.com/user/adviceslime5/ dianabol
and deca cycle
https://proxyrate.ru/user/quartcoffee50/ valley.Md
https://monjournal.space/item/404393 dianabol only cycle reddit
http://www.annunciogratis.net/author/prosegym7 dianabol And anavar cycle
https://buketik39.ru/user/maidhair3/ Winstrol Dianabol Cycle
http://www.annunciogratis.net/author/harpstring9 dianabol winstrol cycle
https://www.24propertyinspain.com/user/profile/1152194 test deca
dianabol cycle
https://monjournal.xyz/item/297887 how long Is a
dianabol cycle
https://firsturl.de/nlXM41i valley.md
https://prpack.ru/user/bookforest1/ dianabol Only cycle for beginners
http://www.annunciogratis.net/author/harpstring9 Testosterone Trenbolone Dianabol Cycle
https://aviator-games.net/user/adviceoak1/ winstrol dianabol cycle
https://telegra.ph/Dbol-Cycle-Guide-To-Stacking-Dosages-And-Unwanted-Facet-Effects-08-09 valley.md
https://www.udrpsearch.com/user/orchiddelete7 dianabol cycle results
https://buketik39.ru/user/ownerviolin35/ testosterone and
dianabol cycle
https://pin-it.site/item/404319 valley.md
steroid alternative supplements
test and dianabol cycle
https://git.kirasparkle.de/jamelwalling48 https://git.kirasparkle.de/jamelwalling48
https://gitea.carmon.co.kr/nickipetersen https://gitea.carmon.co.kr/nickipetersen
https://seychelleslove.com/@leliai07354731 https://seychelleslove.com/@leliai07354731
https://inmessage.site/@dellq077489182 inmessage.site
http://gitea.dctpay.com/sharynbromley0 gitea.dctpay.com
https://quickplay.pro/valenciagayman https://quickplay.pro/
https://isugar-dating.com/@luismcquiston isugar-dating.com
https://git.dihe.moe/jacquieholguin git.dihe.moe
https://lius.familyds.org:3000/rosalina18w079 lius.familyds.org
https://git.noxxxx.com/trinidadleibow git.noxxxx.com
https://sistemagent.com:8081/beulahlassiter sistemagent.com
https://loveis.app/@josefabelisari loveis.app
https://cupido.prestigioapps.com/@gidgethitt439 cupido.prestigioapps.com
https://repo.gusdya.net/veldawrenn456 repo.gusdya.net
https://git.werkraum-karlsruhe.org/susangkn788221 git.werkraum-karlsruhe.org
https://music.drepic.com/richcostas0585 music.drepic.com
https://music.drepic.com/richcostas0585 music.drepic.com
https://orailo.com/@anneliesebiebe orailo.com
cjc 1295 ipamorelin compounding pharmacy
dianabol 10mg cycle
摸摸">alert('GD' ) "@qq.com
66666
博主,能不能分享一个owo表情包教程呀!
感谢博主分享
踩踩
来啦来啦