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


PHP pager::pager_J方法代码示例

本文整理汇总了PHP中pager::pager_J方法的典型用法代码示例。如果您正苦于以下问题:PHP pager::pager_J方法的具体用法?PHP pager::pager_J怎么用?PHP pager::pager_J使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在pager的用法示例。


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

示例1: intval

							
							<?php 
    if ($obj->count > 0) {
        ?>
							</a>
							<?php 
    }
    ?>
							
                            <div style="">
							<div class="bold"><?php 
    echo $obj->pole;
    ?>
</div>
                            <?php 
    echo $obj->text;
    ?>
                            </div>
                        </div>	
	
	<?php 
}
?>

		</div>
		
	<?php 
// pager
echo brand::get_count() > mysql::query_findpole('select zna from config where id=47', 'zna') ? pager::pager_J("brand", mysql::query_findpole('select zna from config where id=47', 'zna'), brand::get_count(), intval($_GET['page'])) : '';
?>
		
开发者ID:AngelWayfarer,项目名称:prizvanie,代码行数:29,代码来源:all_brands.php

示例2: isset

?>
 href="<?php 
echo isset($_GET['id']) ? general::link('filter/id/' . $_GET['id'] . '/type_sort/2') : general::link('filter/type_sort/2');
?>
">Я>А</a> </div>
                    </div><!-- .srt_block-->

                    <div class="tovar_list_3">
					
	<?php 
foreach ($result as $obj) {
    ?>
	
				<?php 
    echo system::show_tpl(array('obj' => $obj, 'level' => ''), '/frontend/catalog/list_index.php');
    ?>
	
	<?php 
}
?>
	
                    </div><!-- .tovar_list_3-->	
	
	
	<?php 
// pager
if (isset($_GET['id'])) {
    echo filter::get_count() > CATALOG_AT_PAGE ? pager::pager_J("filter/id/" . $_GET['id'], CATALOG_AT_PAGE, filter::get_count(), intval($_GET['page'])) : '';
} else {
    echo filter::get_count() > CATALOG_AT_PAGE ? pager::pager_J("filter", CATALOG_AT_PAGE, filter::get_count(), intval($_GET['page'])) : '';
}
开发者ID:AngelWayfarer,项目名称:prizvanie,代码行数:31,代码来源:list.php

示例3: foreach

						&nbsp;&nbsp;&nbsp;&nbsp;
						<a <?php 
echo catalog::get_curent_type_sort(2);
?>
 href="<?php 
echo general::link('brand/id/' . $_GET['id'] . '/type_sort/2');
?>
">Я>А</a> </div>
                    </div><!-- .srt_block-->

                    <div class="tovar_list_3">
					
	<?php 
foreach ($result as $obj) {
    ?>
	
				<?php 
    echo system::show_tpl(array('obj' => $obj, 'level' => ''), '/frontend/catalog/list_index.php');
    ?>
	
	<?php 
}
?>
	
                    </div><!-- .tovar_list_3-->	
	
	
	<?php 
// pager
echo brand::get_count_brand() > CATALOG_AT_PAGE ? pager::pager_J("brand/id/" . $_GET['id'], CATALOG_AT_PAGE, brand::get_count_brand(), intval($_GET['page'])) : '';
开发者ID:AngelWayfarer,项目名称:prizvanie,代码行数:30,代码来源:list.php

示例4: intval

				<div class="c_item">
					<div class="c_head"><strong>Администратор:</strong> <span class="c_info"><?php 
        echo system::show_data($obj->updated_at);
        ?>
</span></div>
					<div class="c_content"><?php 
        echo $obj->answer;
        ?>
</div>
				</div>
				<?php 
    }
    ?>

			</div>			
						
	<?php 
}
?>
	
		</div>	
	
	<?php 
// pager
echo guestbook::count_guestbook() > GUESTBOOK_AT_PAGE ? pager::pager_J("guestbook", GUESTBOOK_AT_PAGE, guestbook::count_guestbook(), intval($_GET['page'])) : '';
?>
	
	
	<?php 
// добавление отзыва
echo system::show_tpl(array(), '/frontend/guestbook/add.php');
开发者ID:AngelWayfarer,项目名称:prizvanie,代码行数:31,代码来源:list.php

示例5: foreach

						&nbsp;&nbsp;&nbsp;&nbsp;
						<a <?php 
echo catalog::get_curent_type_sort(2);
?>
 href="<?php 
echo general::link('catalog/grupa/' . $_GET['grupa'] . '/type_sort/2');
?>
">Я>А</a> </div>
                    </div><!-- .srt_block-->

                    <div class="tovar_list_3">
					
	<?php 
foreach ($result as $obj) {
    ?>
	
				<?php 
    echo system::show_tpl(array('obj' => $obj, 'level' => ''), '/frontend/catalog/list_index.php');
    ?>
	
	<?php 
}
?>
	
                    </div><!-- .tovar_list_3-->	
	
	
	<?php 
// pager
echo catalog::get_count() > CATALOG_AT_PAGE ? pager::pager_J("catalog/grupa/" . $_GET['grupa'], CATALOG_AT_PAGE, catalog::get_count(), intval($_GET['page'])) : '';
开发者ID:AngelWayfarer,项目名称:prizvanie,代码行数:30,代码来源:list.php

示例6: confirm

			<option value="1">Опубликовать</option>
			<option value="2">Удалить</option>
		</select>				
		<input type="submit" name="submit" id="go" value="Выполнить" onclick="return confirm('Вы уверены?')" disabled>
		</th>
	</tr>

  </tbody>
</table>
	
	<div id="info" align="center" style="color: red;">Меняйте строки местами для сортировки данных!</div>

	<?php 
// pager
if (!isset($_POST['status'])) {
    echo $_total_news > ADMIN_NEWS_AT_PAGE ? pager::pager_J(_APPLICATION . "/" . $tpl_folder . "/index", ADMIN_NEWS_AT_PAGE, $_total_news, intval($_GET['page'])) : '';
}
?>


<script type="text/javascript">
	  	// When the document is ready set up our sortable with it's inherant function(s)
	  	$(function() {
	  	    
              $("#sortable, .s").sortable({
				update : function () {
					var order = $('#sortable').sortable('serialize');
					//$("#info").load("<?php 
echo APPLICATION;
?>
/ajax/writesort.php?"+order+'&tablename=catalog');
开发者ID:AngelWayfarer,项目名称:prizvanie,代码行数:31,代码来源:index.php

示例7: intval

    ?>
                                    
                                </div>
                            </div>
                        </div>
					</div>

<?php 
}
?>
					
					
					
	<?php 
// pager
echo news::count_comment_news(news::get_news_id($_GET['url'])) > COMMENT_NEWS_AT_PAGE ? pager::pager_J("news/url/" . $_GET['url'], COMMENT_NEWS_AT_PAGE, news::count_comment_news(news::get_news_id($_GET['url'])), intval($_GET['page'])) : '';
?>
	
	
	<?php 
/*
	begin 		<?php foreach ($comment as $obj): ?>
	end  		<?php endforeach; ?>
	
	fio  		<?php echo $obj->fio; ?>
	data  		<?php echo system::show_data($obj->created_at); ?>
	text 		<?php echo $obj->text; ?>		
	answer 	<?php echo news::count_comment($obj->answer); ?>
*/
?>
					
开发者ID:AngelWayfarer,项目名称:prizvanie,代码行数:30,代码来源:comment_show.php

示例8: intval

								<?php 
        }
        ?>
							
							</a>
						<?php 
    }
    ?>
	
					</div>
				</ins>	
						
	<?php 
}
?>
	
		</div>	
		
	<script type="text/javascript">
	$(document).ready(function(){
		<!-- colorbox -->
	  $("a[rel='example1']").colorbox();
	});
	</script>				
		
	
	<?php 
// pager
echo gallery::count_gallery() > GALLERY_AT_PAGE ? pager::pager_J(isset($_GET['url']) ? "gallery/" . $_GET['url'] : "gallery", GALLERY_AT_PAGE, gallery::count_gallery(), intval($_GET['page'])) : '';
?>
	
开发者ID:AngelWayfarer,项目名称:prizvanie,代码行数:30,代码来源:show.php


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