ciyon_ai/www/_header.php
2026-04-15 17:28:46 +08:00

24 lines
791 B
PHP
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$_header_nav1 = array();
$_header_nav1[] = '/about/';
$_header_nav1[] = '/wlist/' . enid(2);
$_header_nav1[] = '/wlist/' . enid(2) . '/p/2';
$_header_nav1[] = '/wlist/' . enid(2) . '/art/' . enid(435);
?>
<div style="font-size: 1.2em;font-weight: bold;padding-left: 1em;">
Ciyon - <?php echo $current_page; ?>
</div>
<div style="flex:1;padding:0.3em;">
 <a<?php if ($current_page == '/indexweb') echo ' style="color:var(--man6);"'; ?> href="/indexweb">首页</a>
<br />
配置webpoint.php路由
<?php
foreach ($_header_nav1 as $nav) {
echo '<br/> <a';
if ($current_page == $nav)
echo ' style="color:var(--man6);"';
echo ' href="' . $nav . '">' . $nav . '</a>';
}
?>
</div>