<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>Patches</title>
		<link>https://www.cotonti.com</link>
		<description>Formely known as Corehacks</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 29 Apr 2026 11:39:48 -0000</pubDate>

		<item>
			<title>imaginative - good day</title>
			<description><![CDATA[<p><span style="color:rgb(68,68,68);font-family:sans-serif;line-height:20.7999992370605px;background-color:rgb(238,238,238);">otonti siena, freelance  абсолютно точно. Я сам не совсем понимаю откуда эта ошибка? Причём выскакивает переодически, примерно раз в час-два. Может из-за модуля market это всё происходит? Ошибка вроде как из OC Market . попробую отключу этот модуль .  . . </span></p>

<p> </p>

<p><span style="color:rgb(68,68,68);font-family:sans-serif;line-height:20.7999992370605px;background-color:rgb(238,238,238);">____________________</span></p>

<p><span style="color:rgb(68,68,68);font-family:sans-serif;line-height:20.7999992370605px;background-color:rgb(238,238,238);">sunny</span></p>
]]></description>
			<pubDate>пн, 30 мар 2015 08:48:53 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=40764#40764]]></link>
		</item>
		<item>
			<title>dragonzap - Cotonti MOD</title>
			<description><![CDATA[<p>
	Thanks :)</p>
]]></description>
			<pubDate>ср, 19 дек 2012 18:58:36 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=36595#36595]]></link>
		</item>
		<item>
			<title>Kingsley - Cotonti MOD</title>
			<description><![CDATA[<blockquote>
	<a href="https://www.cotonti.com/forums?m=posts&amp;p=35570#35570">#35570</a> <strong>dragonzap: </strong></blockquote>
<blockquote>
	<strong>Added 1 months later:</strong>
	<p>
		Smart HTML5 admin theme:<br /><a href="http://www.cotonti.com/datas/users/screenshot_from_2012-12-13_224757_1694.png">http://www.cotonti.com/datas/users/screenshot_from_2012-12-13_224757_1694.png</a></p>
	<p>
		<strong>Added 3 minutes later:</strong></p>
	<p>
		<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-12-13_225133_1694.png">http://www.cotonti.com/datas/users/screenshot_from_2012-12-13_225133_1694.png</a></p>
</blockquote>
<p>
	thumbs up! nice and clean..</p>
<p>
	 </p>
]]></description>
			<pubDate>чт, 13 дек 2012 22:04:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=36532#36532]]></link>
		</item>
		<item>
			<title>dragonzap - Cotonti MOD</title>
			<description><![CDATA[<p>
	Smart HTML5 admin theme:</p>
<p>
	<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-12-13_224757_1694.png">http://www.cotonti.com/datas/users/screenshot_from_2012-12-13_224757_1694.png</a><br /><a href="http://www.cotonti.com/datas/users/screenshot_from_2012-12-13_225133_1694.png">http://www.cotonti.com/datas/users/screenshot_from_2012-12-13_225133_1694.png<br />
	http://www.cotonti.com/datas/users/config_1694.png<br />
	http://www.cotonti.com/datas/users/plugin_1694.png<br />
	http://www.cotonti.com/datas/users/extensions_1694.png<br />
	http://www.cotonti.com/datas/users/pfs_edit_1694.png</a></p>
]]></description>
			<pubDate>вс, 23 сен 2012 14:22:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=35570#35570]]></link>
		</item>
		<item>
			<title>elfrenazo - Cotonti MOD</title>
			<description><![CDATA[<p>
	I like the interface metro :)</p>
]]></description>
			<pubDate>пт, 08 июн 2012 21:30:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=34634#34634]]></link>
		</item>
		<item>
			<title>MecTruy - Cotonti MOD</title>
			<description><![CDATA[<p>
	Good thanks alot</p>
]]></description>
			<pubDate>пт, 08 июн 2012 08:43:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=34628#34628]]></link>
		</item>
		<item>
			<title>dragonzap - Cotonti MOD</title>
			<description><![CDATA[<p>
	Thank.</p>
<p>
	<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-04-01_164325_1694.png">Default page edit tpl</a></p>
<p><strong>Added 1 week later:</strong></p><p>
	<a href="http://www.cotonti.com/datas/users/modal_window_1694.png">New modal windows</a></p>
<p><strong>Added 3 days later:</strong></p><p>
	<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-04-18_222548_1694.png">Lightbox</a></p>
<p><strong>Added 2 days later:</strong></p><p>
	First pre-alpha:</p>
<p>
	<a href="http://dragonzap.szunyi.com/downloads/Cotonti-Dragonzap.zip" rel="nofollow">http://dragonzap.szunyi.com/downloads/Cotonti-Dragonzap.zip</a></p>
<p><strong>Added 6 days later:</strong></p><p>
	<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-04-27_232031_1694.png">New hits home tile.</a></p>
]]></description>
			<pubDate>вс, 01 апр 2012 14:43:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=33713#33713]]></link>
		</item>
		<item>
			<title>Dayver - Cotonti MOD</title>
			<description><![CDATA[<p>
	Very cool</p>
]]></description>
			<pubDate>пн, 26 мар 2012 23:10:27 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=33663#33663]]></link>
		</item>
		<item>
			<title>dragonzap - Cotonti MOD</title>
			<description><![CDATA[<p>
	Thanks.</p>
<p>
	This is lot of work... and I have little time only :)</p>
<p>
	<strong>Added 6 days later:</strong></p>
<p>
	Mobile version:</p>
<p>
	<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-03-11_220626_1694.png">Admin-Home</a><br /><a href="http://www.cotonti.com/datas/users/screenshot_from_2012-03-11_220949_1694.png">Config</a><br /><a href="http://www.cotonti.com/datas/users/screenshot_from_2012-03-11_221408_1694.png">Extension</a><br /><br />
	 </p>
<p><strong>Added 2 weeks later:</strong></p><p>
	<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-03-26_215001_1694.png">Rights</a></p>
<p>
	<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-03-26_215028_1694.png">Rights2</a></p>
<p>
	<a href="http://www.cotonti.com/datas/users/screenshot_from_2012-03-26_215137_1694.png">Cache</a></p>
<p>
	:D :D Soon....</p>
]]></description>
			<pubDate>пн, 05 мар 2012 20:35:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=33461#33461]]></link>
		</item>
		<item>
			<title>Kingsley - Cotonti MOD</title>
			<description><![CDATA[<p>
	it looks real nice dude, keep it up! :)</p>
]]></description>
			<pubDate>вс, 04 мар 2012 23:21:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=33451#33451]]></link>
		</item>
		<item>
			<title>dragonzap - Cotonti MOD</title>
			<description><![CDATA[<p>
	Really, and I don't like this but I think it have good possibility.<br />
	Developers can make costume home page tile whit her plugins.<br />
	E.g: Page module have one tile with some info and action:<br />
	- how many page was write by you ( if click to this then open all your page )<br />
	- how many pages are waiting for moderator<br />
	- last page</p>
<p>
	<strong>Added 4 days later:</strong></p>
<p>
	<a href="http://www.cotonti.com/datas/users/new-admin-tile_1694.png">Update</a></p>
<p>
	<strong>Added 5 days later:</strong></p>
<p>
	<a href="http://www.cotonti.com/datas/users/adminv1_1694.png">Update1</a></p>
<p>
	<strong>Added 1 week later:</strong></p>
<p>
	<a href="http://www.cotonti.com/datas/users/admin-light_1694.png">New colors</a></p>
<p>
	<strong>Added 4 hours later:</strong></p>
<p>
	<a href="http://www.cotonti.com/datas/users/plugin1_1694.png">Extension config</a></p>
<p>
	<a href="http://www.cotonti.com/datas/users/plugin2_1694.png">Extension config1</a></p>
<p>
	<a href="http://www.cotonti.com/datas/users/config_1694.png">Config</a></p>
<p>
	<a href="http://www.cotonti.com/datas/users/ext_1694.png">Extensions</a></p>
]]></description>
			<pubDate>вт, 14 фев 2012 22:16:55 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=33136#33136]]></link>
		</item>
		<item>
			<title>Dyllon - Cotonti MOD</title>
			<description><![CDATA[<p>
	The new one looks interesting. It kinda reminds me of the windows mobile 7 interface.</p>
]]></description>
			<pubDate>пн, 13 фев 2012 22:55:10 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=33126#33126]]></link>
		</item>
		<item>
			<title>dragonzap - Cotonti MOD</title>
			<description><![CDATA[<p>
	I working on the new version.</p>
<p>
	news:</p>
<p>
	- Redesigned PFS, extensions list<br />
	- NewStyle admin theme<br />
	- Change button text to icon<br />
	- Gallery integrating to pfs module</p>
<p>
	<strong>Added 1 day later:</strong></p>
<p>
	<a href="http://www.cotonti.com/datas/users/pfs-editfolder_1694.png">http://www.cotonti.com/datas/users/pfs-editfolder_1694.png</a><br /><a href="http://www.cotonti.com/datas/users/screenshot_at_2012-02-03_225711_1694.png">http://www.cotonti.com/datas/users/screenshot_at_2012-02-03_225711_1694.png</a></p>
<p>
	<strong>Added 2 days later:</strong></p>
<p>
	Now</p>
<p>
	PFS:<br />
	- support subfolders<br />
	- full tile design and clear <span style="font-family:arial, sans-serif;">appearance</span><br />
	- icon base buttons<br />
	- gallery whit lightbox<br />
	- simply folder create/file upload window<br />
	- simply file/folder managing<br /><br />
	Pictures:</p>
<ul><li>
		<a href="http://www.cotonti.com/datas/users/browsing_1694.png">Browsing</a></li>
	<li>
		<a href="http://www.cotonti.com/datas/users/createfolder_1694.png">Create folder</a></li>
	<li>
		<a href="http://www.cotonti.com/datas/users/uploadfile_1694.png">Upload file</a></li>
	<li>
		<a href="http://www.cotonti.com/datas/users/editfile_1694.png">Edit file</a></li>
	<li>
		<a href="http://www.cotonti.com/datas/users/editfolder_1694.png">Edit Folder</a></li>
</ul><p>
	<br />
	 </p>
<p>
	<strong>Added 1 week later:</strong></p>
<p>
	<a href="http://www.cotonti.com/datas/users/home-new_1694.png">Work on a new admin homepage</a></p>
]]></description>
			<pubDate>чт, 02 фев 2012 21:18:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=33017#33017]]></link>
		</item>
		<item>
			<title>Trustmaster - Cotonti MOD</title>
			<description><![CDATA[<p>
	Cool! Could you please submit it to <a href="http://www.cotonti.com/themes/">Themes</a> section?</p>
]]></description>
			<pubDate>пн, 26 дек 2011 07:19:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=32275#32275]]></link>
		</item>
		<item>
			<title>rayblo - Cotonti MOD</title>
			<description><![CDATA[<p>
	looks oke!</p>
]]></description>
			<pubDate>вс, 25 дек 2011 21:44:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=32266#32266]]></link>
		</item>
		<item>
			<title>dragonzap - Cotonti MOD</title>
			<description><![CDATA[<p>
	<u><strong>Redesigned cotonti admin panel</strong></u></p>
<p>
	<strong>Pics:</strong></p>
<p>
	http://www.cotonti.com/datas/users/web_admin0_1694.png http://www.cotonti.com/datas/users/web_admin1_1694.png</p>
<p>
	<strong>Download:</strong></p>
<p>
	http://www.cotonti.com/datas/users/cottonti-mod_1694.zip</p>
<p>
	 </p>
]]></description>
			<pubDate>вс, 25 дек 2011 20:58:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=32264#32264]]></link>
		</item>
		<item>
			<title>Gökhan YILDIZ - automatic more link for rss</title>
			<description><![CDATA[show up to a specific character, and then automatically continue rss link to put;<br />
<br />
open rss.php<br />
<br />
find:<br />
<div class="highlight"><pre class="php">
if ($readmore &gt; 0)
{
$pag_html = mb_substr($pag_html, 0, $readmore);
$pag_html .= &quot; &lt;span class=\&quot;readmore\&quot;&gt;&lt;a href=https://www.cotonti.com/\&quot;&quot;.$pag_pageurl.&quot;\&quot;&gt;&quot;.$L&#091;'ReadMore'&#093;.&quot;&lt;/a&gt;&lt;/span&gt;&quot;;
}
</pre></div>
add after:<br />
<div class="highlight"><pre class="php">
else { $pag_html = substr($pag_html, 0, 250).&quot; &lt;a href=https://www.cotonti.com/\&quot;&quot;.$pag_pageurl.&quot;\&quot;&gt;read more&lt;/a&gt;&quot;;}
</pre></div>
find:<br />
<div class="highlight"><pre class="php">
if ($readmore&gt;0)
{
$pag_text = mb_substr($pag_text, 0, $readmore);
$pag_text .= &quot; &lt;span class=\&quot;readmore\&quot;&gt;&lt;a href=https://www.cotonti.com/\&quot;&quot;.$pag_pageurl.&quot;\&quot;&gt;&quot;.$L&#091;'ReadMore'&#093;.&quot;&lt;/a&gt;&lt;/span&gt;&quot;;
}
</pre></div>
add after:<br />
<div class="highlight"><pre class="php">
else { $pag_text = substr($pag_text, 0, 250).&quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.$pag_pageurl.&quot;\&quot;&gt;read more&lt;/a&gt;&quot;;}
</pre></div>
P.S: <br />
<div class="highlight"><pre class="php">substr($pag_text, 0, 250)</pre></div> <strong>250</strong>= rss character limit]]></description>
			<pubDate>пн, 04 янв 2010 19:06:57 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=21958#21958]]></link>
		</item>
		<item>
			<title>antony09 - Accurate avatar/photo/signature auto-resize with ImageMagick</title>
			<description><![CDATA[Try to use this picture resizing tool [url=Try to use this picture resizing tool <a href="http://www.softorbits.com/batch_picture_resize/" rel="nofollow">http://www.softorbits.com/batch_picture_resize/</a> It works well!]]></description>
			<pubDate>ср, 30 дек 2009 19:47:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=21825#21825]]></link>
		</item>
		<item>
			<title>GHengeveld - Group type setting</title>
			<description><![CDATA[I thınk dısabled shouldnt be put ın grp_type because you could have both hıdden and sub-only.<br />
Enabled dısabled ıs ınterestıng we could do more wıth that.<br />
<br />
Pardon my spellıng, usıng a turkısh keyboard ıs quıte trıcky... (ım on vacatıon ın alanya)]]></description>
			<pubDate>вс, 03 мая 2009 02:17:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11988#11988]]></link>
		</item>
		<item>
			<title>Trustmaster - Group type setting</title>
			<description><![CDATA[Interestingly, there is an Enabled/Disabled (grp_disabled) option for groups but it is not used anywhere at all. Probably we could just use it so &quot;Disabled&quot; groups don't show at all or something.]]></description>
			<pubDate>вт, 28 апр 2009 12:27:50 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11860#11860]]></link>
		</item>
		<item>
			<title>pieter - Group type setting</title>
			<description><![CDATA[Hidden group is in seditio only for hidding the group.<br />
<br />
I was looking once how to hide users from a specific group.<br />
<br />
eg all banned users. <br />
It is nice to keep them for there IP and usernames. But also nice to get them out of the user list, to see all normal users.<br />
<br />
Maybe an idea to think about when you change some stuff of the usersgroups.]]></description>
			<pubDate>вт, 28 апр 2009 02:05:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11854#11854]]></link>
		</item>
		<item>
			<title>Trustmaster - Group type setting</title>
			<description><![CDATA[This could be useful together with <a href="http://www.cotonti.com/forums.php?m=posts&amp;q=2076">right-less groups</a><br />
<br />
UPD:<br />
<br />
So far we found these types of groups usable:<br />
<ul>
<li>Normal group</li>
<li>Hidden group</li>
<li>Sub group only</li>
<li>Right-less status group</li>
</ul>
<br />
I think there should be just one field (grp_type) in the sed_groups table for all of them and group type should be selectable with a dropdown in Admin. Then scripts will check this field and implement appropriate behavior depending on group type.<br />
<br />
What do you think?]]></description>
			<pubDate>пн, 27 апр 2009 12:08:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11845#11845]]></link>
		</item>
		<item>
			<title>GHengeveld - Group type setting</title>
			<description><![CDATA[This will add an option in user group settings. You can limit the group type a group can be set as. For example, you can have both regular users and Premium users. Normally, you would be able to set Premium user as Main group. With this patch you can disallow setting this group as main group, so it can only be set as a subgroup. This will make sure your Premium users are always inside the Users main group (or another Main group option).<br />
This is especially useful if you have a lot of different groups and multiple website administrators (with the right to edit a user's group).<br />
<br />
<strong>1. Adding database column</strong><br />
Run the following SQL query on your database:<br />
<pre class="code">ALTER TABLE 'sed_groups' ADD 'grp_type' VARCHAR(4) NOT NULL DEFAULT 'both';</pre>
<br />
<strong>2. Adding language items</strong><br />
Inside system/lang/xx/admin.lang.php on line 358, add:<br />
<pre class="code">$L&#091;'adm_rights_grouptype'&#093; = 'Can be set as';
$L&#091;'adm_rights_grouptype_both'&#093; = 'Main and sub group';
$L&#091;'adm_rights_grouptype_sub'&#093; = 'Sub group only';</pre>
<br />
<strong>3. New group selectbox</strong><br />
In system/core/admin/admin.users.inc.php on line 255, add:<br />
<pre class="code">$adminmain .= &quot;&lt;tr&gt;&lt;td&gt;&quot;.$L&#091;'adm_rights_grouptype'&#093;.&quot; :&lt;/td&gt;&lt;td&gt;&quot;;
$adminmain .= &quot;&lt;select name=\&quot;ntype\&quot;&gt;&quot;;
$adminmain .= &quot;&lt;option value=\&quot;both\&quot;&gt;&quot;.$L&#091;'adm_rights_grouptype_both'&#093;.&quot;&lt;/option&gt;&quot;;
$adminmain .= &quot;&lt;option value=\&quot;sub\&quot;&gt;&quot;.$L&#091;'adm_rights_grouptype_sub'&#093;.&quot;&lt;/option&gt;&quot;;
$adminmain .= &quot;&lt;/select&gt;&quot;;
$adminmain .= &quot;&lt;/td&gt;&lt;/tr&gt;&quot;;</pre>
<br />
On line 47, add:<br />
<pre class="code">$ntype = sed_import('ntype','P','TXT');</pre>
<br />
On line 50 there should be an SQL query, replace it with:<br />
<pre class="code">$sql = (!empty($ntitle)) ? sed_sql_query(&quot;INSERT INTO $db_groups (grp_alias, grp_level, grp_disabled, grp_hidden,  grp_maintenance, grp_type, grp_title, grp_desc, grp_icon, grp_pfs_maxfile, grp_pfs_maxtotal, grp_ownerid) VALUES ('&quot;.sed_sql_prep($nalias).&quot;', &quot;.(int)$nlevel.&quot;, &quot;.(int)$ndisabled.&quot;, &quot;.(int)$nhidden.&quot;,  &quot;.(int)$nmtmode.&quot;, '&quot;.sed_sql_prep($ntype).&quot;', '&quot;.sed_sql_prep($ntitle).&quot;', '&quot;.sed_sql_prep($ndesc).&quot;', '&quot;.sed_sql_prep($nicon).&quot;', &quot;.(int)$nmaxsingle.&quot;, &quot;.(int)$nmaxtotal.&quot;, &quot;.(int)$usr&#091;'id'&#093;.&quot;)&quot;) : '';</pre>
<br />
<strong>4. Edit group selectbox</strong><br />
On line 81, add:<br />
<pre class="code">$rtype = sed_import('rtype','P','TXT');
$rtype = sed_sql_prep($rtype);</pre>
<br />
Somewhere around line 88 there should be an SQL query, replace it with:<br />
<pre class="code">$sql = (!empty($rtitle)) ? sed_sql_query(&quot;UPDATE $db_groups SET grp_title='$rtitle', grp_desc='$rdesc', grp_icon='$ricon', grp_alias='$ralias', grp_level='$rlevel', grp_pfs_maxfile='$rmaxfile', grp_pfs_maxtotal='$rmaxtotal', grp_disabled='$rdisabled', grp_hidden='$rhidden', grp_maintenance='$rmtmode', grp_type='$rtype' WHERE grp_id='$g'&quot;) : '';</pre>
<br />
On line 170, add:<br />
<pre class="code">$selected_both = ($row&#091;'grp_type'&#093; == 'both') ? ' selected=&quot;selected&quot;' : '';
$selected_sub = ($row&#091;'grp_type'&#093; == 'sub') ? ' selected=&quot;selected&quot;' : '';
	
$adminmain .= &quot;&lt;tr&gt;&lt;td&gt;&quot;.$L&#091;'adm_rights_grouptype'&#093;.&quot; :&lt;/td&gt;&quot;;
$adminmain .= &quot;&lt;td&gt;&lt;select name=\&quot;rtype\&quot;&gt;&quot;;
$adminmain .= &quot;&lt;option value=\&quot;both\&quot;$selected_both&gt;&quot;.$L&#091;'adm_rights_grouptype_both'&#093;.&quot;&lt;/option&gt;&quot;;
$adminmain .= &quot;&lt;option value=\&quot;sub\&quot;$selected_sub&gt;&quot;.$L&#091;'adm_rights_grouptype_sub'&#093;.&quot;&lt;/option&gt;&quot;;
$adminmain .= &quot;&lt;/select&gt;&lt;/td&gt;&lt;/tr&gt;&quot;;</pre>
<br />
<strong>5. Modifying groups selection</strong><br />
In system/functions.php, on line 1249, find sed_build_groupsms(). Replace the entire function with:<br />
<br />
<pre class="code">function sed_build_groupsms($userid, $edit=FALSE, $maingrp=0)
{
	global $db_groups, $db_groups_users, $sed_groups, $L, $usr;

	$sql = sed_sql_query(&quot;SELECT gru_groupid FROM $db_groups_users WHERE gru_userid='$userid'&quot;);
	while ($row = sed_sql_fetcharray($sql))
	{
		$member&#091;$row&#091;'gru_groupid'&#093;&#093; = TRUE;
	}
	
	$sql = sed_sql_query(&quot;SELECT grp_id, grp_type FROM $db_groups&quot;);
	$onlysub&#091;&#093; = '';
	while ($row = sed_sql_fetcharray($sql))
	{
		if ($row&#091;'grp_type'&#093; == 'sub') $onlysub&#091;&#093; = $row&#091;'grp_id'&#093;;
	}

	foreach($sed_groups as $k =&gt; $i)
	{
		$checked = ($member&#091;$k&#093;) ? &quot;checked=\&quot;checked\&quot;&quot; : '';
		$checked_maingrp = ($maingrp==$k) ? &quot;checked=\&quot;checked\&quot;&quot; : '';
		
		$readonly = (!$edit || $usr&#091;'level'&#093; &lt; $sed_groups&#091;$k&#093;&#091;'level'&#093; || $k==SED_GROUP_GUESTS || $k==SED_GROUP_INACTIVE || $k==SED_GROUP_BANNED || ($k==SED_GROUP_TOPADMINS &amp;&amp; $userid==1)) ? &quot;disabled=\&quot;disabled\&quot;&quot; : '';
		$readonly_maingrp = (!$edit || $usr&#091;'level'&#093; &lt; $sed_groups&#091;$k&#093;&#091;'level'&#093; || $k==SED_GROUP_GUESTS || ($k==SED_GROUP_INACTIVE &amp;&amp; $userid==1) || ($k==SED_GROUP_BANNED &amp;&amp; $userid==1) || in_array($k, $onlysub)) ? &quot;disabled=\&quot;disabled\&quot;&quot; : '';

		if ($member&#091;$k&#093; || $edit)
		{
			if (!($sed_groups&#091;$k&#093;&#091;'hidden'&#093; &amp;&amp; !sed_auth('users', 'a', 'A')))
			{
				$res .= &quot;&lt;input type=\&quot;radio\&quot; class=\&quot;radio\&quot; name=\&quot;rusermaingrp\&quot; value=\&quot;$k\&quot; &quot;.$checked_maingrp.&quot; &quot;.$readonly_maingrp.&quot; /&gt; \n&quot;;
				$res .= &quot;&lt;input type=\&quot;checkbox\&quot; class=\&quot;checkbox\&quot; name=\&quot;rusergroupsms&#091;$k&#093;\&quot; &quot;.$checked.&quot; $readonly /&gt;\n&quot;;
				$res .= ($k == SED_GROUP_GUESTS) ? $sed_groups&#091;$k&#093;&#091;'title'&#093; : &quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.sed_url('users', 'gm='.$k).&quot;\&quot;&gt;&quot;.$sed_groups&#091;$k&#093;&#091;'title'&#093;.&quot;&lt;/a&gt;&quot;;
				$res .= ($sed_groups&#091;$k&#093;&#091;'hidden'&#093;) ? ' ('.$L&#091;'Hidden'&#093;.')' : '';
				$res .= &quot;&lt;br /&gt;&quot;;
			}
		}
	}

	return $res;
}</pre>[/][/]]]></description>
			<pubDate>сб, 11 апр 2009 03:50:41 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11292#11292]]></link>
		</item>
		<item>
			<title>Lombi - Accurate avatar/photo/signature auto-resize with ImageMagick</title>
			<description><![CDATA[Also not everyone has ImageMagick.]]></description>
			<pubDate>чт, 09 апр 2009 21:39:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11247#11247]]></link>
		</item>
		<item>
			<title>oc - Accurate avatar/photo/signature auto-resize with ImageMagick</title>
			<description><![CDATA[No,<br />
<br />
Image resizing is done, but, fancy reflection effects vs (i don't actually know what that plugin does) won't be in core.]]></description>
			<pubDate>чт, 09 апр 2009 21:23:45 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11246#11246]]></link>
		</item>
		<item>
			<title>DemptD - Accurate avatar/photo/signature auto-resize with ImageMagick</title>
			<description><![CDATA[Ohh awesome!<br />
<br />
I just installed it and it works great!<br />
<br />
Will this be in core soon?]]></description>
			<pubDate>чт, 09 апр 2009 06:47:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11239#11239]]></link>
		</item>
		<item>
			<title>NovoKain - Accurate avatar/photo/signature auto-resize with ImageMagick</title>
			<description><![CDATA[<a href="http://trac.cotonti.com/ticket/127">http://trac.cotonti.com/ticket/127</a>]]></description>
			<pubDate>ср, 08 апр 2009 16:32:52 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11202#11202]]></link>
		</item>
		<item>
			<title>DemptD - Accurate avatar/photo/signature auto-resize with ImageMagick</title>
			<description><![CDATA[Will this work: <a href="http://www.seditioforge.com/tutorials/core-hacks/accurate-avatar/photo/signature-auto-resize-with-imagemagick-i71.html" rel="nofollow">http://www.seditioforge.com/tutorials/core-hacks/accurate-avatar/photo/signature-auto-resize-with-imagemagick-i71.html</a> on cotonti?]]></description>
			<pubDate>ср, 08 апр 2009 07:30:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=11199#11199]]></link>
		</item>
		<item>
			<title>Kilandor - Users arrangement</title>
			<description><![CDATA[Since you have this here, anyways. I'm goign to delete the page, there isn't really much need for a whole page for a small tweak such as  this. But yes thanks for posting.]]></description>
			<pubDate>сб, 14 мар 2009 07:33:41 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9968#9968]]></link>
		</item>
		<item>
			<title>biro - Users arrangement</title>
			<description><![CDATA[ok]]></description>
			<pubDate>сб, 14 мар 2009 04:18:27 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9963#9963]]></link>
		</item>
		<item>
			<title>Lombi - Users arrangement</title>
			<description><![CDATA[<strong>Thanks for contributing.</strong><br />
<br />
Remember to add some more words to it and publish it as a tutorial in the documentation. It's an interesting trick.<br />
<br />
Remember to also add all the other options that it can be used with and explain the useage of asc and desc.]]></description>
			<pubDate>сб, 14 мар 2009 04:14:52 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9962#9962]]></link>
		</item>
		<item>
			<title>biro - Users arrangement</title>
			<description><![CDATA[yep]]></description>
			<pubDate>сб, 14 мар 2009 04:14:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9961#9961]]></link>
		</item>
		<item>
			<title>robofreak111 - Users arrangement</title>
			<description><![CDATA[you mean the newbies :)]]></description>
			<pubDate>сб, 14 мар 2009 04:10:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9958#9958]]></link>
		</item>
		<item>
			<title>biro - Users arrangement</title>
			<description><![CDATA[uhhh thousands dont k]]></description>
			<pubDate>сб, 14 мар 2009 04:09:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9957#9957]]></link>
		</item>
		<item>
			<title>robofreak111 - Users arrangement</title>
			<description><![CDATA[uhhh that is already known...]]></description>
			<pubDate>сб, 14 мар 2009 04:08:15 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9955#9955]]></link>
		</item>
		<item>
			<title>biro - Users arrangement</title>
			<description><![CDATA[Do you want to make users arranged by reg date not alpha then replace {HEADER_USERS} in header.tpl w/<br />
<pre class="code">&lt;a href=https://www.cotonti.com/&quot;users.php?f=all&amp;s=regdate&amp;w=asc&quot;&gt;users&lt;/a&gt;</pre>]]></description>
			<pubDate>сб, 14 мар 2009 04:06:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9953#9953]]></link>
		</item>
		<item>
			<title>Kingsley - Migration from Seditio 121/125 to Cotonti 0.0.2</title>
			<description><![CDATA[ok, thx Lombi.. I'll wait for that then...]]></description>
			<pubDate>пт, 13 мар 2009 04:35:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9926#9926]]></link>
		</item>
		<item>
			<title>Lombi - Migration from Seditio 121/125 to Cotonti 0.0.2</title>
			<description><![CDATA[With one extra sql that needs to be imported - 002-003.sql<br />
<br />
Will be making a tutorial on encoding in case your database needs this (most do), as well as upgrading. Soon.]]></description>
			<pubDate>пт, 13 мар 2009 03:08:36 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9915#9915]]></link>
		</item>
		<item>
			<title>Kingsley - Migration from Seditio 121/125 to Cotonti 0.0.2</title>
			<description><![CDATA[I presume this also will work on the 0.0.3 release?]]></description>
			<pubDate>пт, 13 мар 2009 02:42:14 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9914#9914]]></link>
		</item>
		<item>
			<title>Lombi - Skinvertor - encoding converter</title>
			<description><![CDATA[In case anyone's interested in a recursive solution that can handle batch files in different directories here's what I used <a href="http://amos.110mb.com/download/UTF8_convert.php" rel="nofollow">http://amos.110mb.com/download/UTF8_convert.php</a><br />
<br />
You search for the files you want to convert via total commander and then feed it to this app. Converts flawlessly, including the decoding of all HTML entities.]]></description>
			<pubDate>чт, 12 мар 2009 21:47:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&p=9872#9872]]></link>
		</item>
	</channel>
</rss>