Location: PHPKode > scripts > Simple Hook and Plug-ins System (XML) > example.xml
<?xml version="1.0" encoding="windows-1256"?>
<product>

<setting>
<title>&#1607;&#1575;&#1603; &#1575;&#1604;&#1573;&#1593;&#1604;&#1575;&#1606;&#1575;&#1578;</title>
<description>&#1608;&#1589;&#1601; &#1575;&#1604;&#1607;&#1575;&#1603;</description>
<version>1.0</version>
<url>1.0</url>
<installcode>
<![CDATA[

$code = '$Blocks->Content_Start("&#1578;&#1580;&#1585;&#1576;&#1577;");
echo "<br />hh";
$Blocks->Content_End();
';
mysql_query("insert into pages set title = '&#1578;&#1580;&#1585;&#1576;&#1577;', codetype = '2', code = '$code'") or die(mysql_error());
]]>
</installcode>
<unistallcode>
<![CDATA[



]]>
</unistallcode>
</setting>

<plugin>
<title>test 1</title>
<place>global</place>
<phpcode><![CDATA[global $test;
echo $test;]]></phpcode>
<status></status>
</plugin>

		
</product>
Return current item: Simple Hook and Plug-ins System (XML)