Esempio n. 1
0
<?php 
if (get_theme_mod('sidebar_on_page')) {
    add_sidebar(get_theme_mod('sidebar_on_page'));
}
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
        <div id="page">
          <!-- Content (Weird Indents)-->
<?php 
        the_content(__('(&#187;)'));
        ?>
          <!-- END -->
        </div>
<?php 
    }
} else {
    _e('Sorry, no posts matched your criteria.');
}
?>
        <div id="page">
<?php 
list_type("subory", "file");
list_type("zmluvy", "file");
?>
        </div>
      </div>
    </section>
<?php 
get_footer();
Esempio n. 2
0
					<?php 
        if ($records[$j]->type != 'category') {
            ?>
					<td><?php 
            echo $records[$j]->num;
            ?>
</td>
					<?php 
        } else {
            ?>
<td></td>
					<?php 
        }
        ?>
					<td><?php 
        echo list_type($records[$j]->type);
        ?>
</td>
					<td>
						<a href="list_edit.php?id=<?php 
        echo $records[$j]->id;
        ?>
" class="list_edit" name="<?php 
        echo $records[$j]->id;
        ?>
" title="配置内容"><img src="/images/btn_config1.png" border="0"></a> 
						<a href="position_edit.php?id=<?php 
        echo $records[$j]->id;
        ?>
" class="edit" style="cursor:pointer" title="编辑"><img src="/images/btn_edit.png" border="0"></a> 
						<span style="cursor:pointer;" class="del" name="<?php 
Esempio n. 3
0
			<td width="20%">榜单名称</td><td width="15%">榜单类型</td><td width="15%">发布位置</td><td width="15%">推荐优先级</td><td width="35%">操作</td>
		</tr>
		<?php 
for ($i = 0; $i < $count; $i++) {
    ?>
				<tr class="tr3" id="<?php 
    echo $record[$i]->id;
    ?>
">
					<td><a href="#"> <?php 
    echo $record[$i]->name;
    ?>
</a></td>
					<td>
						<?php 
    echo list_type($record[$i]->list_type);
    ?>
					</td>
					<td>
						<?php 
    echo list_position($record[$i]->position);
    ?>
					</td>
					<td>
						<?php 
    echo $record[$i]->recommend_priority;
    ?>
					</td>
					<td>
						<a href="relation_list.php?id=<?php 
    echo $record[$i]->id;
Esempio n. 4
0
function globetype_show_types()
{
    list_type($_GET['id']);
    echo "<br>";
    addType();
}