dié liàn huā
蝶恋花
miàn xuán luò huā fēng dàng yàng
面旋落花风荡漾
liǔ zhòng yān shēn
柳重烟深
xuě xù fēi lái wǎng
雪絮飞来往
yǔ hòu qīng hán yóu wèi fàng
雨后轻寒犹未放
chūn chóu jiǔ bìng chéng chóu chàng
春愁酒病成惆怅
zhěn pàn píng shān wéi bì làng
枕畔屏山围碧浪
cuì bèi huā dēng
翠被花灯
yè yè kōng xiāng xiàng
夜夜空相向
jì mò qǐ lái qiān xiù huǎng
寂寞起来褰绣幌
yuè míng zhèng zài lí huā shàng
月明正在梨花上
面旋落花风荡漾柳重烟深雪絮飞来往雨后轻寒犹未放春愁酒病成惆怅枕畔屏山围碧浪翠被花灯夜夜空相向寂寞起来褰绣幌月明正在梨花上
#1253 | <?php |
#1254 | $sentence = $gdata['title']; |
#1255 | $pattern = '/[^\p{L}\p{N}\s]/u'; |
#1256 | $cleanSentence = preg_replace($pattern, '', $sentence); |
#1257 | $characters = utf8_str_split($cleanSentence); |
#1258 | $processedChars = array(); |
#1259 | foreach ($characters as $char) { |
#1260 | if (!preg_match('/\s/', $char) && !in_array($char, $processedChars)) { |
#1261 | $processedChars[] = $char; |
#1262 | echo '<a href="/search/mid_7/' . urlencode($char) . '" class="c1" target="_blank">' . htmlspecialchars($char) . '</a> '; |