<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>karrikas &#187; Karrikas</title>
	<atom:link href="http://karrikas.com/bloga/author/karrikas/feed/" rel="self" type="application/rss+xml" />
	<link>http://karrikas.com/bloga</link>
	<description>Hau beste blog bat besterik ez da</description>
	<lastBuildDate>Tue, 02 Dec 2008 22:13:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Laster arte Mikel</title>
		<link>http://karrikas.com/bloga/laster-arte-mikel/</link>
		<comments>http://karrikas.com/bloga/laster-arte-mikel/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 22:11:35 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Musika]]></category>
		<category><![CDATA[abestia]]></category>
		<category><![CDATA[atxaga]]></category>
		<category><![CDATA[etib]]></category>
		<category><![CDATA[hil]]></category>
		<category><![CDATA[jaio]]></category>
		<category><![CDATA[laboa]]></category>
		<category><![CDATA[lizardi]]></category>
		<category><![CDATA[mikel]]></category>
		<category><![CDATA[mikel laboa]]></category>
		<category><![CDATA[sustatu]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">/bloga/?p=37</guid>
		<description><![CDATA[Atzo abenduak 1 ( hil &#124; jaio ) zen Mikel Laboa berdin ezina. Abeslari eta artista handi asko ditugu baina Mikel berdinduko dutenik ez dago ezta egongo ere. Sustatun ikusidudan ekimena jarraituz nik ere nire abesti kutuna jarriko dut hemen. Gaur egun seguraski beste batzuk ditut gustokoagoak, baina Lizardi abestiarekin ezagutu nuen nik. Txiki txikia [...]]]></description>
			<content:encoded><![CDATA[<p>Atzo abenduak 1 ( hil | jaio ) zen <a href="http://eu.wikipedia.org/wiki/Mikel_Laboa">Mikel Laboa</a> berdin ezina. Abeslari eta artista handi asko ditugu baina Mikel berdinduko dutenik ez dago ezta egongo ere. <a href="http://sustatu.com/1228227718">Sustatun</a> ikusidudan ekimena jarraituz nik ere nire abesti kutuna jarriko dut hemen. Gaur egun seguraski beste batzuk ditut gustokoagoak, baina <a href="http://eu.musikazblai.com/mikel-laboa/lizardi/">Lizardi</a> abestiarekin ezagutu nuen nik. Txiki txikia nintzela erritmo azkar horrek segituan bihurtu zuen nire begikoa.</p>
<h3>Lizardi</h3>
<p><em>Lizardi, Rimbaud etorri duk hitaz galdezka<br />
eta gu ere hire zain geundela<br />
esan zioagu<br />
ez hitzela aspaldi azaldu<br />
etxetik<br />
eta belatzean eseri gaituk denok<br />
erlojuak janez<br />
baina mezularia bidali diagu Alosko torrea<br />
eskilara luzetan<br />
beleak uxatzen<br />
ote hintzen ikus zezan<br />
gero kanpaiak entzun dizkiagu<br />
zakurrak zaunkaka<br />
orduan sortu haiz bidetik<br />
balantzaka<br />
eta hirekin aurrez aurre jarri garenean<br />
zerraldo erori haiz gure oinetan<br />
eta gorpu gogor hintzen<br />
udazkenaren tronoan<br />
hertsi dizkiagu begiak<br />
adiosik ez<br />
eta goizaldean<br />
muxika hezur batetan sarturik<br />
o petit poete<br />
pirotekniarik gabe lurperatu haugu<br />
baratzan.<br />
</em></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/iVY5ao5ArcE&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/iVY5ao5ArcE&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Laster arte, Mikel.</p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/laster-arte-mikel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hemen gaude, ta poztutzen naiz.</title>
		<link>http://karrikas.com/bloga/hemen-gaude-ta-poztutzen-naiz/</link>
		<comments>http://karrikas.com/bloga/hemen-gaude-ta-poztutzen-naiz/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 16:52:07 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Bereziak]]></category>

		<guid isPermaLink="false">http://karrikas.com/bloga/?p=33</guid>
		<description><![CDATA[
Hemen nago berriz,
Arsysko p********** izandako arazoengatik webgune hau 2 aste egon da eroria. Sinestezina da alako alukeria bat egin eta ezin dezula ezer egin.
Historiotso laburtua hau da. 
6 urte daramatzat webgune bat arsys bidez, kudeatzen. Badira 2 edo 3 urte arsyseko kontua kudeatzeko erabili behar nuen helbidea, ibiltzen ez nuela, eta ortarako bigarren kudeaketa kontua [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left;margin: .5em;"><img src='http://karrikas.com/bloga/wp-content/arsyspoltsa.png' alt='Arsys poltsa' /></div>
<p>Hemen nago berriz,</p>
<p>Arsysko p********** izandako arazoengatik webgune hau 2 aste egon da eroria. Sinestezina da alako alukeria bat egin eta ezin dezula ezer egin.</p>
<p>Historiotso laburtua hau da. </p>
<p>6 urte daramatzat webgune bat arsys bidez, kudeatzen. Badira 2 edo 3 urte arsyseko kontua kudeatzeko erabili behar nuen helbidea, ibiltzen ez nuela, eta ortarako bigarren kudeaketa kontua sortu nuen. Beraz, gunea kudeatzeko 2 kontu ditut, eta nik bakarrik bigarrena erabiltzen det.<br />
Orain dela hilabete edo, nire kontutik dirua hartzen saiatu zirenean ez zuten dirurik topatu eta beraz ordaindu beharrezko factura, 2009ko urterartekoa, ordaindu gabe geratu zen. Kutxak noski ez dit abisurik pasatzen (norbaitek badaki pasatu beharko lidakeen, mugikorgabe geratu izan naiz arazo berdina gatik), eta arsysek kudeatzeko ditudan kontuetatako lehengoari 3 abisu bidali omen zizkion, noski, nik hura erabiltzen ez dudanez, kontua ezabatu zuten arte ez nintzen enteratu zer gertatzen zen. Ordurako berandu, beren kontratuan jartzen duenez hilabete pasatzen bada ordaindu gabe, datu guztiak &#8220;ezabatu egiten dira&#8221;. Nik hau jakin gabe, ikusita webgunea ez zegoela, lehen bait lehen factura ordaindu nuen, baina berandu omen, ordainduta era daturik ez (jakin banu ez nukeen ordainduko). Datuak lortzeko ere gehiago ordaindu behar, webgunea errekuperatzeagatik 60€ + bez, eta datu base bakoitzaren gatik berdin, 60€ + bez. Kontuak aterata, eta frogetarako sortuak nituen datu baseak kontuan izanda, 600€ gora. Azkenean datu base bakarra errekupera tu dut, eta bestea pikutara.</p>
<p>Eta noski kontatu dizuedan guztia nik jakiteko 2 aste, ez dakit zenbat telefono dei, korreaok infito, eta tiket zerbitzua penagarria. Zenbat pertsona ezberdinei esplikatu nien gauza bera, ufa, penagarria, negar egitekoa, lapurreta&#8230;</p>
<p>Desglosea:<br />
222,72 € -> factura atzeratua ordaintzea.<br />
25,98 € -> kontratua berritzea<br />
69,60 € -> datu base bakarra errekuperatzea<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
318,30 € -> lapurreta garratza</p>
<p>Beraz badakizue, hostkontua hartzerako, ongi pentsatu, eta hobeto oporretara joan.</p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/hemen-gaude-ta-poztutzen-naiz/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Apache domeinuak</title>
		<link>http://karrikas.com/bloga/apache-domeinuak/</link>
		<comments>http://karrikas.com/bloga/apache-domeinuak/#comments</comments>
		<pubDate>Wed, 14 May 2008 20:53:18 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://karrikas.com/bloga/?p=32</guid>
		<description><![CDATA[Benetan ridikulua zein erraz konfiguratu daitekeen apache domeinu bat baina gehiago makina beretik zerbitzateko.   
Lerro hauek gehitu apache2/sites-availabe dokumentuan.
&#60;virtualhost *&#62; 
&#160; &#160; DocumentRoot /home/erabiltzilea/web/bat/
&#160; &#160; ServerName bat.karrikas.com
&#60;/virtualhost&#62;
Eta berrabiarazi apache
sudo /etc/init.d/apache2 restart
Facilmenteeeeee.
]]></description>
			<content:encoded><![CDATA[<p>Benetan ridikulua zein erraz konfiguratu daitekeen apache domeinu bat baina gehiago makina beretik zerbitzateko. <img src='http://karrikas.com/bloga/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  <img src='http://karrikas.com/bloga/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /><br />
Lerro hauek gehitu apache2/sites-availabe dokumentuan.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;</span>virtualhost <span style="color: #000000; font-weight: bold;">*&gt;</span> <br />
&nbsp; &nbsp; DocumentRoot <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>erabiltzilea<span style="color: #000000; font-weight: bold;">/</span>web<span style="color: #000000; font-weight: bold;">/</span>bat<span style="color: #000000; font-weight: bold;">/</span><br />
&nbsp; &nbsp; ServerName bat.karrikas.com<br />
<span style="color: #000000; font-weight: bold;">&lt;/</span>virtualhost<span style="color: #000000; font-weight: bold;">&gt;</span></div></div>
<p>Eta berrabiarazi apache</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</div></div>
<p>Facilmenteeeeee.</p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/apache-domeinuak/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Famous people</title>
		<link>http://karrikas.com/bloga/famous-people/</link>
		<comments>http://karrikas.com/bloga/famous-people/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 20:20:47 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Bereziak]]></category>

		<guid isPermaLink="false">http://karrikas.com/bloga/?p=31</guid>
		<description><![CDATA[Erabat harrituta gelditu naiz ikusi dudanean sustatun nire blogeko irudi aurkeztu zutela ikusi dudanean. Lehenago ere nabaritu nuen amerikar asko sartzen zirela images.google.com helbidetik hain zuzen ere. Bi titi jarri eta audientzia izugarri igotzen da, ala ikurrina izango da?
Eta bata bestearen atzetik Joxe Aranzabalek Euskadi irratian duen parte hartzean ere, blogaz mintzatu zen, 8. probintzia [...]]]></description>
			<content:encoded><![CDATA[<p>Erabat harrituta gelditu naiz ikusi dudanean <a href="http://sustatu.com/1201211508">sustatun</a> nire blogeko irudi aurkeztu zutela ikusi dudanean. Lehenago ere nabaritu nuen amerikar asko sartzen zirela images.google.com helbidetik hain zuzen ere. Bi titi jarri eta audientzia izugarri igotzen da, ala ikurrina izango da?</p>
<p>Eta bata bestearen atzetik Joxe Aranzabalek Euskadi irratian duen parte hartzean ere, blogaz mintzatu zen, <a href="http://www.blogak.com/8probintzia/8-probintzia-27-saioa">8. probintzia</a> irrati saioan.</p>
<p style="text-align:center">
<embed width="450" height="80" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="type=audio&#038;id=17944043" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" name="odeo_player_gray" quality="high" src="http://odeo.com/flash/audio_player_gray.swf"/>
</p>
<p>Eta gainera orain ez dela asko ere nire flickr-eko argazki bat erabili zuten <a href="http://www.pasaian.com/web/noticia/oarsoaldea-destino-turistiko-moduan-ezagutaraziko-da-madrilgo-fiturren/oarsoaldea-destino-turistiko-moduan-ezagutaraziko-da-madrilgo-fiturren/">pasaia.com</a> aldizkarian.</p>
<p style="text-align:center"><img src="http://www.pasaian.com/img/fotografias/25-1-2008-132144bidegorri%20karrikas.jpg" /></p>
<p>P.D.: Kasualitatea pornografiaz mintzatzen den egunean agertzea nire bloga.</p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/famous-people/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Egunkaria libre!</title>
		<link>http://karrikas.com/bloga/egunkaria-libre/</link>
		<comments>http://karrikas.com/bloga/egunkaria-libre/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 21:57:19 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Bereziak]]></category>

		<guid isPermaLink="false">http://karrikas.com/bloga/?p=30</guid>
		<description><![CDATA[Jada 5 urte!!!




]]></description>
			<content:encoded><![CDATA[<p>Jada 5 urte!!!</p>
<p align="center">
<a href="http://www.egunkaria.info/"><br />
<img src='http://karrikas.com/bloga/wp-content/egunkaria.gif' alt='Egunkaria libre' /><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/egunkaria-libre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toil bideoklipa</title>
		<link>http://karrikas.com/bloga/toil-bideoklipa/</link>
		<comments>http://karrikas.com/bloga/toil-bideoklipa/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 21:25:14 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Musika]]></category>

		<guid isPermaLink="false">http://karrikas.com/bloga/?p=29</guid>
		<description><![CDATA[Bikaina toilen bideoklip berria, ea laister diska berria ateratzen duten a-muletik jeisteko.


Astindun ikusia, el correo sarietako finalista. Sentitzen det baina Guggenheimek irabaziko du.  
]]></description>
			<content:encoded><![CDATA[<p>Bikaina toilen bideoklip berria, ea laister diska berria ateratzen duten a-muletik jeisteko.</p>
<p align="center">
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/DSgQfsj_FJA&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/DSgQfsj_FJA&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p><a href="http://astindu.sareweb.net/story/toil-zuen-begien-bideoklip-berria">Astindun</a> ikusia, <a href="http://servicios.elcorreodigital.com/especiales/premios-mejores-webs/finalistas.html">el correo sarietako finalista</a>. Sentitzen det baina <a href="http://www.guggenheim-bilbao.es/?idioma=eu">Guggenheim</a>ek irabaziko du. <img src='http://karrikas.com/bloga/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/toil-bideoklipa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recordset azkarrak</title>
		<link>http://karrikas.com/bloga/recordset-azkarrak/</link>
		<comments>http://karrikas.com/bloga/recordset-azkarrak/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 21:39:08 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.karrikas.com/bloga/?p=28</guid>
		<description><![CDATA[Lanean hurrengo kode hau topatu dut. Konfidentzialtasun ituna sinatu harren argi dago kodea ez dela enpresako, eta hemen jartzen badut, beste ezer baino lanean behar dudanean azkar topatzeko modua besterik ez da, eta noski, nik edo beste edonork behar badu erabili ahal izateko  . 
Honek ni lehenago idatzia nuen orrialdeztapen kodea alderatzera behartzen nau [...]]]></description>
			<content:encoded><![CDATA[<p>Lanean hurrengo kode hau topatu dut. Konfidentzialtasun ituna sinatu harren argi dago kodea ez dela enpresako, eta hemen jartzen badut, beste ezer baino lanean behar dudanean azkar topatzeko modua besterik ez da, eta noski, nik edo beste edonork behar badu erabili ahal izateko <img src='http://karrikas.com/bloga/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . </p>
<p>Honek ni lehenago idatzia nuen <a href="http://www.karrikas.com/bloga/?p=3">orrialdeztapen kodea</a> alderatzera behartzen nau nire hobe beharrez yujuuu <img src='http://karrikas.com/bloga/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">/*<br />
THIS CLASS WAS DEVELOPED BY WEB FORTE LTD. <br />
<br />
YOU CAN USE IT AS YOU LIKE. WE DON'T CARE.<br />
<br />
HTTP://WWW.ALL-IT.RO/ THIS SITE USE IT AND WORKS FINE<br />
*/</span><br />
<span style="color: #000000; font-weight: bold;">class</span> recordset<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$_connection</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$_sql_string</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//we send the sql string without limits and without &quot;; &quot;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$_url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//it's mandatory to send url with the rest of QUERY_STRING parameters; if there aren't other parameters you send this with ?. Ex: $myobj-&gt;_url = &quot;mypage.php?&quot;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$_p_name</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;page&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//if you don't send this, the default is page</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$_records_page</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">25</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$_page</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$_showeachside</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">4</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$_idioma</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'es'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">function</span> get_total_pages<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$sql_count</span><span style="color: #339933;">=</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_sql_string<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$query_count</span><span style="color: #339933;">=</span><a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql_count</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$cantidad</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_num_rows"><span style="color: #990000;">mysql_num_rows</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query_count</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$row_count</span><span style="color: #339933;">=</span><a href="http://www.php.net/mysql_fetch_array"><span style="color: #990000;">mysql_fetch_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query_count</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$total_pages</span><span style="color: #339933;">=</span><a href="http://www.php.net/ceil"><span style="color: #990000;">ceil</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cantidad</span><span style="color: #339933;">/</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$total_pages</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">function</span> get_no_pages<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// you use this for getting the total number of pages based on $_records_page and row count from mysql result</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$fromPos</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strpos"><span style="color: #990000;">strpos</span></a><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/strtolower"><span style="color: #990000;">strtolower</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_sql_string<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;from&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;select count(*) &quot;</span><span style="color: #339933;">.</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_sql_string<span style="color: #339933;">,</span> <span style="color: #000088;">$fromPos</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$R</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$sql</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_connection<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$T</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_array"><span style="color: #990000;">mysql_fetch_array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$R</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$records_no</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$T</span><span style="color: #009900;">&#91;</span>0<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$pages_no</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/floor"><span style="color: #990000;">floor</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$records_no</span> <span style="color: #339933;">/</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$pages_no</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$records_no</span> <span style="color: #339933;">%</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #339933;">==</span>0?<span style="color: #000088;">$pages_no</span><span style="color: #339933;">:</span><span style="color: #000088;">$pages_no</span><span style="color: #339933;">+</span>1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$pages_no</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">function</span> get_str_pages<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Gives you the string for navigation on pages</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// 1 2 3 ... etc ...</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">switch</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_idioma<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'es'</span><span style="color: #339933;">:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$anterior</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'anterior'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$siguiente</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'siguiente'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'eu'</span><span style="color: #339933;">:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$anterior</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'aurrekoa'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$siguiente</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'hurrengoa'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'en'</span><span style="color: #339933;">:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$anterior</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'previous'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$siguiente</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'next'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'fr'</span><span style="color: #339933;">:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$anterior</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'précédente'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$siguiente</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'suivante'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$pagina_anterior</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_no_pages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// INICIO CODIGO DE PAGINACION</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;ol class='pag'&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// ANTERIOR </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page<span style="color: #339933;">*</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> 0<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li class='first'&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_url<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_p_name<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;=<span style="color: #006699; font-weight: bold;">$pagina_anterior</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$anterior</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page <span style="color: #339933;">&gt;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_showeachside<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li class='first02'&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_url<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_p_name<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;=1<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;1&lt;/a&gt;&lt;span&gt;...&lt;/span&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// ir a primera página &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li class='first'&gt;&lt;span&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$anterior</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/span&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #666666; font-style: italic;">// end if </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// LISTADO DE NÚMEROS</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$eitherside</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_showeachside <span style="color: #339933;">*</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//&nbsp; &nbsp; &nbsp; $pg=1;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span> <span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_no_pages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$class</span><span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">==</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page<span style="color: #009900;">&#41;</span>?<span style="color: #0000ff;">&quot;'sel'&quot;</span><span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;'paginacion'&quot;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">*</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page<span style="color: #339933;">*</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$eitherside</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">*</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page<span style="color: #339933;">*</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$eitherside</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&lt;a class=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$class</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; &nbsp;href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_url<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_p_name<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;=<span style="color: #006699; font-weight: bold;">$i</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;<span style="color: #006699; font-weight: bold;">$i</span>&lt;/a&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_no_pages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$siguiente_pagina</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page<span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #666666; font-style: italic;">// end if</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//&nbsp; &nbsp; &nbsp; $pg++;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #666666; font-style: italic;">// end for&nbsp; &nbsp; </span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #666666; font-style: italic;">// SIGUIENTE </span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page <span style="color: #339933;">*</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #009900;">&#41;</span><span style="color: #339933;">&lt;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #339933;">*</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_no_pages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page <span style="color: #339933;">&lt;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_total_pages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_showeachside<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li class='last02'&gt;&lt;span&gt;...&lt;/span&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_url<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_p_name<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_no_pages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_total_pages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// ir a última página&nbsp; &nbsp; </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li class='last'&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_url<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_p_name<span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;=<span style="color: #006699; font-weight: bold;">$siguiente_pagina</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$siguiente</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li class='last'&gt;&lt;span&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$siguiente</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/span&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #666666; font-style: italic;">// end if </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$STR</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;/ol&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// FINAL DEL CODIGO DE PAGINACION</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$STR</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">function</span> get_arr_rst<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Paged</span><span style="color: #339933;">=</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp; &nbsp; This is the method which gives you an array with your sql result<br />
&nbsp; &nbsp; &nbsp; &nbsp; Is a key based array so you can acces it by the name of field alias $R[12][&quot;id&quot;] will return the value of ID for the 12 record in yoour result<br />
&nbsp; &nbsp; &nbsp; &nbsp; */</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$Fields</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$low</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;0&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$S</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_sql_string<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Paged</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$low</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #339933;">*</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page<span style="color: #339933;">-</span>1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$S</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot; limit <span style="color: #006699; font-weight: bold;">$low</span>, &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_records_page<span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$Raw</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$S</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_connection<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$F</span><span style="color: #339933;">=</span><a href="http://www.php.net/mysql_fetch_field"><span style="color: #990000;">mysql_fetch_field</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Raw</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/array_push"><span style="color: #990000;">array_push</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Fields</span><span style="color: #339933;">,</span> <span style="color: #000088;">$F</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">name</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$RECORDS</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #339933;">=</span><a href="http://www.php.net/mysql_fetch_array"><span style="color: #990000;">mysql_fetch_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Raw</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span>count <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Fields</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$REC</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$Fields</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$Fields</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/array_push"><span style="color: #990000;">array_push</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$RECORDS</span><span style="color: #339933;">,</span> <span style="color: #000088;">$REC</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$RECORDS</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Ala ere bilatzaileren baten begiratuz begirada azkar batean 3 edo 4 classe topatu kodituzue lan hau egiteko GNU lizentzia edo antzekoarekin.</count></code></p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/recordset-azkarrak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-posta kodifikatu</title>
		<link>http://karrikas.com/bloga/e-posta-kodifikatu/</link>
		<comments>http://karrikas.com/bloga/e-posta-kodifikatu/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 21:26:31 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.karrikas.com/bloga/?p=27</guid>
		<description><![CDATA[Lanean webguneetan jartzen ditugun e-postak kodifikatu behar ditugu. Hau egiteko e-postako karaktere guztiak html moduan idazten dira, beraz, &#XXX; non XXX kode zenbakia den. Lantxo hau egiteko funtzio bat sortu dut.
function karaktereakHtmlan&#40; $testua &#41;&#123;
&#160; $zLetra = strlen&#40; $testua &#41;;
&#160; for&#40;$i=0;$i&#60; $zLetra;$i++&#41;:
&#160; &#160; $emaitza .= &#34;&#38;#&#34;.ord&#40;substr&#40;$testua, $i, 1&#41;&#41; .&#34;;&#34;;
&#160; endfor;

&#160; return $emaitza;
&#125;
Nire iritziz lan hau hartzea [...]]]></description>
			<content:encoded><![CDATA[<p>Lanean webguneetan jartzen ditugun e-postak kodifikatu behar ditugu. Hau egiteko e-postako karaktere guztiak html moduan idazten dira, beraz, <em>&#XXX;</em> non XXX kode zenbakia den. Lantxo hau egiteko funtzio bat sortu dut.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> karaktereakHtmlan<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$testua</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #000088;">$zLetra</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strlen"><span style="color: #990000;">strlen</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$testua</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span> <span style="color: #000088;">$zLetra</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$emaitza</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&amp;#&quot;</span><span style="color: #339933;">.</span><a href="http://www.php.net/ord"><span style="color: #990000;">ord</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$testua</span><span style="color: #339933;">,</span> <span style="color: #000088;">$i</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #b1b100;">endfor</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$emaitza</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Nire iritziz lan hau hartzea ez du ezertarako balio, ze ni 5 minutu tardatu baditut funtzio hau sortzen, spambot bat egin duenak minutu bat tardatuko du kontrakoa sortzen.<br />
Hala ere zure e-posta kodifikatzeko gogoa baduzu, erabili hau.</code></p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/e-posta-kodifikatu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Woodstock &#8216;99</title>
		<link>http://karrikas.com/bloga/woodstock-99/</link>
		<comments>http://karrikas.com/bloga/woodstock-99/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 11:56:03 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Musika]]></category>

		<guid isPermaLink="false">http://www.karrikas.com/bloga/?p=26</guid>
		<description><![CDATA[Woodstock zer zen bilatzen ibili naiz Simpsondarretan entzun eta gero eta Youtubeeko bideo batean zer topatuko eta ara non ikurriña, zein ote da New York ondoan eginiko makro festibal batera ikurrina eraman zuen eroa?



Hau Rage agains the machine taldeak Wake up abestian topa dezakezue, bideo honetan.
Eta zer ona talde honen Killing in the name abestia&#8230;



]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Woodstock_Festival">Woodstock</a> zer zen bilatzen ibili naiz Simpsondarretan entzun eta gero eta Youtubeeko bideo batean zer topatuko eta ara non ikurriña, zein ote da New York ondoan eginiko makro festibal batera ikurrina eraman zuen eroa?<br />
<a href="http://www.youtube.com/watch?v=kvQWyEy-6NI">
<p style="text-align: center"><img src="http://www.karrikas.com/bloga/wp-content/RageWakeupIkurrina.jpg" alt="Ikurrinak" /></p>
<p></a><br />
Hau <a href="http://en.wikipedia.org/wiki/Rage_Against_the_Machine">Rage agains the machine</a> taldeak Wake up abestian topa dezakezue, <a href="http://www.youtube.com/watch?v=kvQWyEy-6NI">bideo honetan</a>.</p>
<p>Eta zer ona talde honen Killing in the name abestia&#8230;</p>
<p style="text-align: center"><img src="http://www.karrikas.com/bloga/wp-content/RATM__Burningamp.jpg" alt="Bandera sutan" /></p>
<p style="text-align: center">
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/KwtHzN5bkqQ&#038;rel=0&#038;color1=0xd6d6d6&#038;color2=0xf0f0f0&#038;border=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/KwtHzN5bkqQ&#038;rel=0&#038;color1=0xd6d6d6&#038;color2=0xf0f0f0&#038;border=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/woodstock-99/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Kaixo Subversion!</title>
		<link>http://karrikas.com/bloga/kaixo-subversion/</link>
		<comments>http://karrikas.com/bloga/kaixo-subversion/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 21:46:30 +0000</pubDate>
		<dc:creator>Karrikas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.karrikas.com/bloga/?p=25</guid>
		<description><![CDATA[


Egun hauetan Mikel Azkolain lankideak ikastarotxo bat eman digu SVNri buruz güindoserako tortoisesvn bezero grafikoarekin. Baina noski honek ez dit nire Ubunturentzako balio beraz pixka bat bilatu dut interneten google ez den bilatzaile batekin.
Subversion instalatzeko nahikoa da shellean hurrengo komandoa idaztearekin.
$sudo aptitude install subversion
Eta ubunturako tortoise erabili beharrean rapidsvn erabiliko degu. Hau instalatzeko ere aptitude [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center">
<a href="http://www.rapidsvn.org/"><img style="border:0;" src='http://www.karrikas.com/bloga/wp-content/rapidsvn.png' alt='rapidsvn' /></a>
</p>
<p>Egun hauetan Mikel Azkolain lankideak ikastarotxo bat eman digu <a href="http://subversion.tigris.org/">SVN</a>ri buruz güindoserako <a href="http://tortoisesvn.tigris.org/">tortoisesvn</a> bezero grafikoarekin. Baina noski honek ez dit nire Ubunturentzako balio beraz pixka bat bilatu dut interneten google ez den bilatzaile batekin.</p>
<p>Subversion instalatzeko nahikoa da shellean hurrengo komandoa idaztearekin.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$sudo aptitude install subversion</div></div>
<p>Eta ubunturako tortoise erabili beharrean <a href="http://www.rapidsvn.org/">rapidsvn</a> erabiliko degu. Hau instalatzeko ere aptitude erabili dezakegu</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$sudo aptitude install rapidsvn</div></div>
<p>Behin beharrezko programak dauzkagula repositorio bat sortuko dugu eta ale lanera. Repositorio sortzeko shell bidez egin behar dugu. Horretarako lehengo karpeta bat sortuko dugu gure karpeta nagusian. Shellera itzuli eta hurrengo idatzi:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$svnadmin create errepositorioa</div></div>
<p>Non errepositorioa zuk nahi duzu errepositorio karpeta den.</p>
<p>Ireki rapidsvn, eta <em>Repository</em> menuan <em>Checkout&#8230;</em> aukeratu. Orain <em>URL</em> jartzen duen lekuan errepositorioa sortu dugun lekuaren helbidea emango diogu, nire kasuan <em>file///home/erailtzailea/errepositora</em>. Eta <em>Destination Directory</em> berriz lan egingo dugun karpeta aukeratuko dugu.</p>
<p>Listo iada dena presta dago gehitu errepositoriora lan egingo dugun dokumentuak, eta lehengo ikonoan klik egin, eta lan egin ondoren abisatuko digu lana amaitzean commint botoia sakatu eta badaukagu bertsio berria gordea. Noizbait aurreko dokumentu batetara itzuli nahi badugu, dokumentua aukeratu eta Logean nahi dugu bertsioa aukeratu Get sakatu. </p>
<p>Gaurkoz listo gehiago ikastean abisatuko&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://karrikas.com/bloga/kaixo-subversion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
