<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Create diferent next, prev links  (number format)"]]></title>
		<link>https://proxy2.de/forum/posts/list/5.php</link>
		<description><![CDATA[Latest messages posted in the topic "Create diferent next, prev links  (number format)"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Create diferent next, prev links  (number format)</title>
				<description><![CDATA[ Hello All.<br /> <br /> Im check the code of Gb.class.php<br /> <br /> [code]<br /> <br /> <br /> <br />     function show_entries&#40;$entry=0&#41; &#123;<br />         global $GB_PG;<br />         $entry = intval&#40;$entry&#41;;<br />         $LANG = &amp;$this-&gt;db-&gt;LANG;<br />         $VARS = &amp;$this-&gt;db-&gt;VARS;<br />         $this-&gt;db-&gt;fetch_array&#40;$this-&gt;db-&gt;query&#40;&quot;select count&#40;*&#41; as total from &quot;.$this-&gt;db-&gt;table&#91;'data'&#93;&#41;&#41;;<br />         $this-&gt;total = $this-&gt;db-&gt;record&#91;&quot;total&quot;&#93;;<br />         $TPL = $this-&gt;get_entries&#40;$entry,$this-&gt;db-&gt;VARS&#91;&quot;entries_per_page&quot;&#93;&#41;;<br />         $TPL&#91;'GB_TOTAL'&#93; = $this-&gt;total;<br />         $TPL&#91;'GB_JUMPMENU'&#93; = implode&#40;&quot;\n&quot;,$this-&gt;generate_JumpMenu&#40;&#41;&#41;;<br />         $TPL&#91;'GB_TIME'&#93; = $this-&gt;db-&gt;DateFormat&#40;time&#40;&#41;&#41;;<br />         $TPL&#91;'GB_NAVIGATION'&#93; = $this-&gt;get_nav&#40;$entry&#41;;<br />         $TPL&#91;'GB_HTML_CODE'&#93; = &#40;$this-&gt;db-&gt;VARS&#91;&quot;allow_html&quot;&#93; == 1&#41; ? $this-&gt;db-&gt;LANG&#91;&quot;BookMess2&quot;&#93; &#58; $this-&gt;db-&gt;LANG&#91;&quot;BookMess1&quot;&#93;;<br />         $guestbook_html = &quot;&quot;;<br />         eval&#40;&quot;\$guestbook_html = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'header'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         eval&#40;&quot;\$guestbook_html .= \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'body'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         eval&#40;&quot;\$guestbook_html .= \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'footer'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         return $guestbook_html;<br />     &#125;<br /> <br /> <br /> <br /> <br /> function get_nav&#40;$entry=0&#41; &#123;<br />         global $_SERVER, $GB_PG;<br />         $entry = intval&#40;$entry&#41;;<br />         $self = &#40;IS_MODULE &amp;&amp; eregi&#40;&quot;\?&quot;,$GB_PG&#91;&quot;index&quot;&#93;&#41;&#41; ? &quot;$GB_PG&#91;index&#93;&amp;entry=&quot; &#58; basename&#40;	 $_SERVER&#91;'PHP_SELF'&#93;&#41;.&quot;?entry=&quot;;<br />         $next_page = $entry+$this-&gt;db-&gt;VARS&#91;'entries_per_page'&#93;;<br />         $prev_page = $entry-$this-&gt;db-&gt;VARS&#91;'entries_per_page'&#93;;<br />         $navigation = '';<br />         if &#40;$prev_page &gt;= 0&#41; &#123;<br />             $navigation = &quot;   &lt;img src=\&quot;$GB_PG&#91;base_url&#93;/img/back.gif\&quot; width=\&quot;16\&quot; height=\&quot;14\&quot;&gt;&lt;a href=\&quot;$self$prev_page\&quot;&gt;&quot;. 			$this-&gt;db-&gt;LANG&#91;&quot;NavPrev&quot;&#93;.&quot;&lt;/a&gt;\n&quot;;<br />         &#125;<br />         if &#40;$next_page &lt; $this-&gt;total&#41; &#123;<br />             $navigation = $navigation.&quot;   &amp;nbsp;&amp;nbsp;&lt;a href=\&quot;$self$next_page\&quot;&gt;&quot;.$this-&gt;db-&gt;LANG&#91;&quot;NavNext&quot;&#93;.&quot;&lt;/a&gt;&lt;img src=\&quot;$GB_PG&#91;base_url&#93;/img/next.gif\&quot; width=\&quot;16\&quot; height=\&quot;14\&quot;&gt;\n&quot;;<br />         &#125;<br />         return $navigation;<br />     &#125;<br /> <br /> [/code]<br /> <br /> this function generates the next page and previous page, but How Im create a new navigation bar <br /> <br /> for example in this format<br /> <br />  &lt; 1 - 2 - 3 - 4 &gt; <br /> <br /> Do you have an Idea? <br /> <br /> Thanks<br /> <br /> A. Acosta[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5561/20311.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5561/20311.php</link>
				<pubDate><![CDATA[Thu, 27 Apr 2006 00:46:50]]> GMT</pubDate>
				<author><![CDATA[ linuxmen]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You could have a look at how I do it in Lazarus.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5561/20315.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5561/20315.php</link>
				<pubDate><![CDATA[Thu, 27 Apr 2006 09:56:59]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
	</channel>
</rss>