当前位置: 首页>>代码示例>>PHP>>正文


PHP do_footer_menu函数代码示例

本文整理汇总了PHP中do_footer_menu函数的典型用法代码示例。如果您正苦于以下问题:PHP do_footer_menu函数的具体用法?PHP do_footer_menu怎么用?PHP do_footer_menu使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了do_footer_menu函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: foreach

            echo '</div>';
            // Print "conversation" for a given note
            $answers = $db->object_iterator("SELECT" . Post::SQL . ", conversations WHERE conversation_type='post' and conversation_to = {$post_id} and post_id = conversation_from ORDER BY conversation_from asc LIMIT 100", 'Post');
            if ($answers) {
                echo '<div style="padding-left: 40px; padding-top: 10px">';
                echo '<ol class="comments-list">';
                foreach ($answers as $answer) {
                    echo '<li>';
                    $answer->print_summary();
                    echo '</li>';
                    $ids[] = $answer->id;
                }
                echo "</ol>";
                echo '</div>' . "\n";
            }
        }
        Haanga::Load('get_total_answers_by_ids.html', array('type' => 'post', 'ids' => implode(',', $ids)));
        // Update conversation time
        if ($view == 3 && $time_read > 0 && $user->id == $current_user->user_id) {
            Post::update_read_conversation($time_read);
        }
    }
    echo '</div>';
    do_pages($rows, $page_size);
}
echo '</div>';
if ($rows > 15) {
    do_footer_menu();
}
do_footer();
exit(0);
开发者ID:brainsqueezer,项目名称:fffff,代码行数:31,代码来源:index.php

示例2: do_error

function do_error($mess = false, $error = false, $send_status = true)
{
    global $globals;
    $globals['ads'] = false;
    if (!$mess) {
        $mess = _('algún error nos ha petado');
    }
    if ($error && $send_status) {
        header("HTTP/1.0 {$error} {$mess}");
        header("Status: {$error} {$mess}");
    }
    do_header(_('error'));
    echo '<STYLE TYPE="text/css" MEDIA=screen>' . "\n";
    echo '<!--' . "\n";
    echo '.errt { text-align:center; padding-top:20px; font-size:150%; color:#FF6400;}' . "\n";
    echo '.errl { text-align:center; margin-top:20px; margin-bottom:20px; }' . "\n";
    echo '-->' . "\n";
    echo '</STYLE>' . "\n";
    echo '<div class="errt">' . $mess . '<br />' . "\n";
    if ($error) {
        echo '(' . _('error') . ' ' . $error . ')</div>' . "\n";
    }
    do_footer_menu();
    do_footer();
    die;
}
开发者ID:brainsqueezer,项目名称:fffff,代码行数:26,代码来源:html1-mobile.php

示例3: do_error

function do_error($mess = false, $error = false, $send_status = true)
{
    global $globals;
    $globals['ads'] = false;
    if (!$mess) {
        $mess = _('algún error nos ha petado');
    }
    if ($error && $send_status) {
        header("HTTP/1.0 {$error} {$mess}");
        header("Status: {$error} {$mess}");
    }
    do_header(_('error'));
    echo '<STYLE TYPE="text/css" MEDIA=screen>' . "\n";
    echo '<!--' . "\n";
    echo '.errt { text-align:center; padding-top:50px; font-size:300%; color:#FF6400;}' . "\n";
    echo '.errl { text-align:center; margin-top:50px; margin-bottom:100px; }' . "\n";
    echo '-->' . "\n";
    echo '</STYLE>' . "\n";
    echo '<p class="errt">' . $mess . '<br />' . "\n";
    if ($error) {
        echo '(' . _('error') . ' ' . $error . ')</p>' . "\n";
    }
    echo '<div class="errl"><img src="' . $globals['base_url'] . 'img/mnm/lame_excuse_01.png" width="362" height="100" alt="ooops logo" /></div>' . "\n";
    do_footer_menu();
    do_footer();
    die;
}
开发者ID:brainsqueezer,项目名称:fffff,代码行数:27,代码来源:html1.php

示例4: do_posts_tabs

					$answer->read();
					echo '<li>';
					$answer->print_summary();
					echo '</li>';
				}
				echo "</ol>\n";
				echo '</div>'."\n";
			}
		}
	}
	echo '</div>';
	do_pages($rows, $page_size);
}

echo '</div>';
if ($rows > 15) do_footer_menu();
do_footer();

function do_posts_tabs($tab_selected, $username) {
	global $globals, $current_user;

	$reload_text = _('recargar');
	$active = ' class="tabmain-this"';

	echo '<ul class="tabmain">' . "\n";

	// All
	if ($tab_selected == 1) {
		echo '<li'.$active.'><a href="'.post_get_base_url().'" title="'.$reload_text.'"><em>'._('todos').'</em></a></li>' . "\n";
	} else {
		echo '<li><a href="'.post_get_base_url().'">'._('todos').'</a></li>' . "\n";
开发者ID:rasomu,项目名称:chuza,代码行数:31,代码来源:index.php


注:本文中的do_footer_menu函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。