<?xml version="1.0"?><Report><ReportQuery><Format><ReportTitle>Generate The Tutorial Database</ReportTitle><ReportDescription>This screen generates the tables and data required to run the Reportico tutorials. This assumes you have already configured the connection to your existing database in your tutorials project.
&lt;p&gt;
Running this process creates and populates 5 tables  - &lt;b&gt;reptut_film&lt;/b&gt;, &lt;b&gt;reptut_country&lt;/b&gt;, &lt;b&gt;reptut_loan&lt;/b&gt;, &lt;b&gt;reptut_category&lt;/b&gt; and &lt;b&gt;reptut_member&lt;/b&gt;. No database or tables are removed.
&lt;p&gt;
Note that some date related data is generated relevant to current date. If you wish to run tutorials again in the future it is a good idea to use the &lt;b&gt;Recreate Tables&lt;/b&gt; to recreate the data. 
&lt;p&gt;
To remove the tutorials tables use the &lt;/b&gt;Drop Tables&lt;/b&gt; option.
&lt;p&gt;
To generate the tables click on the &lt;b&gt;Execute&lt;/b&gt; button. If the table generation fails then an appropriate error message will occur. If the table generation succeeds then you are ready to run through the example tutorials.
</ReportDescription><PageSize>A4</PageSize><PageOrientation>Portrait</PageOrientation><TopMargin></TopMargin><BottomMargin></BottomMargin><RightMargin></RightMargin><LeftMargin></LeftMargin><pdfFont></pdfFont><pdfFontSize></pdfFontSize><PreExecuteCode>// Work out whether to recreate tables
$val = $_criteria[&quot;recreate_tables&quot;]-&gt;get_criteria_value(&quot;VALUE&quot;);

$stat = true;

// Perform table recreation if necessary
if ( $val == &quot;'D'&quot; || $val == &quot;'R'&quot;)
{

if ( $stat ) { $sql = &quot;DROP TABLE reptut_category&quot;; $stat = $_connection-&gt;Execute($sql);}
$stat = true;

if ( $stat ) { $sql = &quot;DROP TABLE reptut_film&quot;; $stat = $_connection-&gt;Execute($sql);}
$stat = true;

if ( $stat ) { $sql = &quot;DROP TABLE reptut_member&quot;; $stat = $_connection-&gt;Execute($sql);}
$stat = true;

if ( $stat ) { $sql = &quot;DROP TABLE reptut_country&quot;; $stat = $_connection-&gt;Execute($sql);}
$stat = true;

if ( $stat ) { $sql = &quot;DROP TABLE reptut_loan&quot;; $stat = $_connection-&gt;Execute($sql);}
$stat = true;

}

if ( $val == &quot;'C'&quot; || $val == &quot;'R'&quot;)
{

if ( $stat ) { $sql = &quot;CREATE TABLE `reptut_category` (
  `cat_code` char(1) NOT NULL default '',
  `cat_desc` varchar(30) NOT NULL default '',
  PRIMARY KEY  (`cat_code`)
) ;
&quot;; $stat = $_connection-&gt;Execute($sql);}

if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('C', 'Comedy');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('H', 'Horror');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('A', 'Action/Thriller');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('W', 'World Cinema');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('S', 'Science Fiction');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('T', 'Western');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('D', 'Drama');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('N', 'Animation');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_category` VALUES ('I', 'Historical / War');&quot;; $stat = $_connection-&gt;Execute($sql);}

if ( $stat ) { $sql = &quot;
CREATE TABLE `reptut_country` (
  `country_code` varchar(5) default NULL,
  `country_name` varchar(20) default NULL,
  `flag` blob
) ;
&quot;; $stat = $_connection-&gt;Execute($sql);}

if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('BRA', 'Brazil', 0x47494638396120001600f70000000000b8e84a63d200f0fb0042c2ef39bff04fcc001eb7e913ba00bae9481eb7ef48c4d6c1eb4199df6999dcf41ebe0022b8efb0e6515dcba80ab80018b5ef00b500a7e0f46fd1953abfef39bfeea5e500fcfe031cb6ef91df00dbf5002ebcf080d78445c3c15cc9f2feff0157c9ae30bdd728baf0d4eec93ec7001db7efb7ea0090d9f336bef0bee6f51dbe0013bb00fafd0622b8f0a6e25c4ec6b8d9f3388ad7f3fdfe0260cca51bb6ec64d200f1fb00b8eb00e7f80050cc00a4e500a8e35a1bb6ef2dbcd990df00b5e4f5fafe05ffff0089d97a6fcff2def2a61fb7ef48c4beaee2f43dc70090d9f45fcaf223b8ef0bb80019b5ef01b50066cdf22bbbf021b8f0fdfe00c8ed392bbbdc1cb6eb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c00000000200016000008ff0001081c48b0a0c183052b285cc8b0a1c3870a05429c4871a1c48a151eecf0810063858b13a5e4d051a4080f0318413ed45872838d921c29aa642845c080113f426439302380c91e13672a74a1a2c8880b14922a3502b3a3c39935079494a1b42a05062579006da89268c9922786b4b0b0420495a412be16f1f18221489b6a6110a812a380931a4ba6a428a1d624ca880016f6e0a196080e05148000a1c0a28983057d3d30b11878e10b0d6a9570489a2469942348be5a1132c16d6586834b46a0f08402040a263e64a05152f2d3d30c2f97049174b1090c0d8a8c2e7d7b62ea0424b004b971a5886d88427363563b5c266e88a99da348791de2e50e503c460cf7689dbcf98f08d3ab2f1810003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('JPN', 'Japan', 0x47494638376120001600e30000000000f3e4e4eec9cad75757c60000d65050f7f7f7eecacace2727d75657df7c7c00008a0000280000c800008800008a2c000000002000160000047510c849abbdd5e8cdbbff9a048ee42696a8779287320cca81ae5f5010785e0424dd05889c9080e0817c9cdb505818213587e552f6791a14d2a1e208000db2c201d70bce89abdd0fb64cd8a241023681aa4a7f94d9e61804cc169d7635783a467b24020a09090a0233812929569086938e1897981411003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('ITA', 'Italy', 0x47494638376120001600c2000000000000b500c6000003b603f7f7f70000030000d00000b02c000000002000160000035f08badcfe2dc83907b9388bcdbba2a0958d5d297c6035922687a681b85ead0bc0923cd7db9bea2bdee98603b26abed00c234c528c1a9e53b52434893028538afd55ad5c5cec7b156b69e122399d5d23bbca6a592d677beb6fb3bb05e9fb1d09003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('SPN', 'Spain', 0x47494638376120001600c20000000000fffc00c60000c70300ffff000000030000d00000b02c000000002000160000035108badcfe4dc849abbd52e1cda7eea0f585a43096a012ac6cebbef0aa10746ddf784ecf7aefef809f30c71b1a09c5a330a9f4319bba2714279dda1483ac76cbed7ab32714272cc690cb2200ba0369bb1d09003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('USA', 'USA', 0x47494638376120001600c600000000000a02b6211abc504ac9d54a4a423dc5130bb84c46c81c14bad85d5d0f07b73e37c4261fbd554fca1810b90b03b63a33c3514bc9d13838150eb9443ec62c26bf140cb84d47c81008b73f38c4ca1313322bc11a13ba4943c70c04b6231cbc524cc92e27c0453fc65c57cc150db80800b5413bc52921be1109b74039c4ca1212625cce4a44c7251dbd0d05b6cd25252f28c01710b94640c65d58cc3933c32119bc0901b54f49c82b24bf5a54cc423cc55954cbc60000352fc2342dc14b45c75650cb3e38c44841c73029c05f59cd4741c63a34c30a02b52c25bf5b55cc140db8433dc51109b82821be5751cb1a12ba605acd241dbdf7f7f70c05b63b35c3231bbc160eb92d26bf5c56cc2019bc3731c2120ab82922be1c15bb332dc1544ecadc6f6f170fb95d57cc0000000000020000020000050000ff0000310000230000730000650000ed0000d50000000000000000000000000000630000ce0000000000ee00006c0000290000bc0000010000ff0000f800007b00009c00008e004ec82c00000000200016000007fe8000828384858687850e0c255e0f4c572521181e1b255c133c999a9b9c824f51353e0856575543241c3e020c3160aeafb0b182365b325b30355b455b1f15ba062552c2c3c4c5824d5a2e0d180e422e074a285f2e54511ad7d8d9da82252e39470b4d01624738104749532509ecedeeef825c1925620f0e03255f161e58254b2dc50212e3f68048091d4d4aac2881244809280f4abc9848b1a2454127529498f1204c84120d0c781851824214022853aa5c39cb03902341a2d8d861a38991234e1ed810c85350961e287e2870a0038588092858a0a0d14582d3a750a30a2ad221088820052e04b961c26a101632a28a852a88a7d9b3c304ad5ccbb6ad4a413316e3ca9d5bb12cdabb0105bddbcbb7af3b412a020b1e4cb8b0e1c076f12a96222896e3c7906109e244b9b2e54d88326b361408003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('UK', 'United Kingdom', 0x47494638376120001600a50000000000eee1e67a76d4c6c5e9cc1c1ca49ddb5650cad960600c04b6e6a0a1e9b1b10800b5c60101d9b2c27a76d51b14bad95f5fc70505c6c5eae7a3a4eee2e6cf2d2dc60000d9b1c1de7a7a5650cbc6c4e9e7a2a3cb1b1be9b1b2de7979e4a0a3dc6c6d312ac0d95f60e9b0b1e5a1a3eee2e7cf2d2ec600011b13bade7a7bd95e5f0000000000340000060000360000060000340000340000340000c00000c00000050000040000030000440000440000440000130000130000040000010000012c00000000200016000006fe408070482c1a8f4553c3b0683a9f1f8be5f3ac2e0c0d939013491550d666741a5ea00aa9084748519d944ceb986ac59a2c2a8a30341871315f55735567186a231221420b08026d271517716252744d06171578140e080b8b4d7c2304111e810b8366051e110488214ea04d8d25220c914c8398152722259d4fb24e7c1da4a6245224abad0a8956421fd1d21f24131b09091b205220d7d91324d3d24252e5e6e7e8e9e5e4eaedee52d0e2d4d6d8dadcde1be0f21fc2a11ac5a50a20b3a08c15810eceaa08a375e0d6850ca82a5dc974e2c02f4fb1000cd3a0c058810794c8a832d80c5693458d284080f4108a4427bbf00400b647839f088040ba14e9a4d025a1446c5656680051cecb2a76646ec1f9b14c2a2b67d2ac0130b4a8d3a361ec20d9cad54810003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('SWE', 'Sweden', 0x47494638376120001600a10000000000fcfc020800b5ffff002c000000002000160000025c848fa99be2ef860cb0da67ae9083ea9f5d9cf75da13596da59a5aac542ee0bc5cf4c3b7634e53510080a839ccef0880c1a8acca6f3b97c4aa79228f5cadc6d7a3e1d4083cb69c3b431b76bee74bde0b32f4d7a7f456e31e38e4f1400003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('RUS', 'Russia', 0x47494638376120001600c2000000000086003d0800b5c60000f7f7f7a9a7e20000d00000b02c000000002000160000035a08badcfe8dc849abbd52e1cda7eea0f585243196e089724ae1be702ccfae22dc78aeeffc6df7c0a00f202cf27ec6a400a92c329b4145604aad5aafd8a962c0ed7abfe030772b2e9bc780b33a4c5ebb07edb73a2e3743ee784702003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('CHN', 'China', 0x47494638376120001600840000000000c60100f3c900ca1000f7d800d13300fefb00e68c00c70200ce2300d54200dc6100d95300eeb400d74a00c60000f3c800e27c00ca0f00c70500c70300ce2400e38100eaa200ffff00e17600c90b000000880000030000000000050000882c000000002000160000056820208e64699ee5a3ae6cebbeaae8221902dfacac56eb80ff0fdda3e17bd06cc097cc0131102c94872409d345308280b180a4e600aa83e2a25131bc2edd4435a124b4e8af2bb088b784f61b3eaf04f3f57e7f7d825581847287778689418b897b8f8e872894952621003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('FR', 'France', 0x47494638376120001600c200000000000b03b60800b5c60000f7f7f70000030000d00000b02c000000002000160000035f08badcfe4dc83903b9388fcdbba2a0958d5d397c6035922687a682b85ead0bc0923cd7db9bea2bdee98603b26abed00c234c528c1a9e53b52434893028538afd55ad5c5cec7b156b69e122399d5d23bbca6a592d677beb6fb3bb05e9fb1d09003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('GER', 'West Germany', 0x47494638376120001600c20000000000ec8e00ffd600c600004000000000030000d00000b02c000000002000160000034b08badcfe30ca49abbd38ebcd2ff960288ee4a70c68aaae6c8b9e6e2cbfc06cb7f0ad0ff96ef73e9922402c1a8fc8245121683a9fd0a8b4c99c5aaf5400762bad72bf022f782b1e5f3b9404003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('DEN', 'Denmark', 0x47494638376120001600c20000000000fbfcf5c70000c60000fffffffcfcf50000d00000b02c000000002000160000039908badcfe4dc829892d548cbcb3ca93456060497ddba05697a6bef07b0253c78e5d1c6b135adf059b4962fbf02822524a77e419799da46d774c099ebf243457ea280ae030583412170262b459416ebbdf70367c4eb7c8ebf8f6333790ae5c14323d348051174244803f57347f86231c508b123e592d825d3393027e56564d5e848b5a893f2b5c58307ea59f351b4688528a81b38c10b7b80c09003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('MEX', 'Mexico', 0x47494638376120001600c60000000000e0d2c8e1e7d98cad7860832ffcfbfa82a96ec4d7bc9359298d470c98ab8a8eb9808d5323bdcaab79ab6879562d833d0286b578bdcbb8e6e8dde8eae2863e01fefefecfcfbc7e3b0305b70500b500b38c65baa179e2e5d8e6ded2c0b6a6fafbf97c3800769b634c94548a5121779767bda18b824919c60000f5f4f0fdfcfbd5e2cdd6dccef5f8f3f3f6f1ae90618bb47d99a2777ca178cfdbc3f6f3f0ffffff9eb98fe1d3c79abfcd7f45149fa88ccdae95823f06aa9683bb9576fffefebdc8c75d5720b99a81833c0000005700000500000000000100006000006000006000001c0000e40000060000000000020000580000580000580000d80000d80000060000040000040000f40000f40000f40000200000200000040000040000040000100000010000470000000000020000020000050000ff0000310000230000730000650000ed0000d50000000000000000000000000000630000ce0000000000ee00006c0000290000bc0000010000ff0000f800007b00009c00008e004ec82c00000000200016000007cc8000828384858687851a8a8b8b19358f90903f28949596828c998e919193969f98998d9c9d9fa000a2a3a48f9ea694a1a99babadaeb0a2b2a4b4a6b69a9016013e37acae95bc8c9b072f3915103b35baa7a98a8e052c313c21430934d097a8d2192e14363d2718420c1e2dc4afdfb13317251c1b2408260d2bec28c68d20031232461010f1c1810a7dfca6d5e86000c78320401608e856ccddad47136028d01121c53384167bf9b22009a4340db838516c77326529760951ae1a0633e4b1991f6bb6c4b9721fa29f400b0502003b);&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_country` VALUES ('IRA', 'Iran', '');&quot;; $stat = $_connection-&gt;Execute($sql);}

if ( $stat ) { $sql = &quot;
CREATE TABLE `reptut_film` (
  `film_id` int(11) NOT NULL auto_increment,
  `title` varchar(50) NOT NULL default '',
  `cat_code` char(1) NOT NULL default '',
  `year` year(4) NOT NULL default '0000',
  `length` smallint(6) NOT NULL default '0',
  `rating` char(3) NOT NULL default '',
  `country_code` varchar(5) default 'USA',
  PRIMARY KEY  (`film_id`)
) AUTO_INCREMENT=258 ;
&quot;; $stat = $_connection-&gt;Execute($sql);}

if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (1, 'Night of the Living Dead', 'H', '1968', 84, '18', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (2, 'The Shining', 'H', '1979', 134, '18', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (3, 'Raiders of the Lost Ark', 'A', '1984', 134, '18', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (4, 'Titanic', 'D', '1984', 134, '18', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (5, 'Lord of the Rings', 'S', '1984', 134, '18', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (6, 'Amelie', 'W', '1984', 134, '18', 'FR');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (7, 'Taste of Cherry', 'W', '1984', 134, '18', 'IRAN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (8, 'The Godfather', 'D', '1972', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (9, 'The Shawshank Redemption', 'D', '1994', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (10, 'The Godfather: Part II', 'D', '1974', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (11, 'Lord of the Rings: The Return', 'S', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (12, 'Schindler\'s List', 'D', '1993', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (13, 'Lord of the Rings: The Two Towers', 'S', '2002', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (14, 'Seven Samurai', 'W', '1954', 0, '', 'JPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (15, 'Casablanca', 'D', '1942', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (16, 'Lord of the Rings: The Fellowship of the Ring', 'S', '2001', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (17, 'Star Wars', 'S', '1977', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (18, 'Citizen Kane', 'D', '1941', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (19, 'One Flew Over the Cuckoo\'s Nest', 'D', '1975', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (20, 'The Empire Strikes Back', 'S', '1980', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (21, 'Dr. Strangelove', 'C', '1964', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (22, 'Rear Window', 'A', '1954', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (23, 'Raiders of the Lost Ark', 'A', '1981', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (24, 'Pulp Fiction', 'A', '1994', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (25, 'The Usual Suspects', 'A', '1995', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (26, 'Memento', 'A', '2000', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (27, 'North by Northwest', 'A', '1959', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (28, '12 Angry Men', 'D', '1957', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (29, 'The Good The Bad &amp; The Ugly', 'T', '1966', 0, '', 'ITA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (30, 'Lawrence of Arabia', 'D', '1962', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (31, 'Psycho', 'H', '1960', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (32, 'Amelie', 'D', '2001', 0, '', 'FR');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (33, 'The Silence of the Lambs', 'H', '1991', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (34, 'It\'s a Wonderful Life', 'C', '1946', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (35, 'Goodfellas', 'A', '1990', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (36, 'American Beauty', 'D', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (37, 'Sunset Boulevard', 'D', '1950', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (38, 'Vertigo', 'A', '1958', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (39, 'The Matrix', 'S', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (40, 'City of God', 'W', '2002', 0, '', 'BRA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (41, 'Once Upon a Time in The West', 'T', '1968', 0, '', 'ITA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (42, 'To Kill a Mockingbird', 'D', '1962', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (43, 'Apocalypse Now', 'A', '1979', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (44, 'The Pianist', 'W', '2002', 0, '', 'FRA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (45, 'The Third Man', 'D', '1949', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (46, 'Paths of Glory', 'D', '1957', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (47, 'Taxi Driver', 'D', '1976', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (48, 'Fight Club', 'A', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (49, 'Some Like It Hot', 'C', '1959', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (50, 'Spirited Away', 'N', '2001', 0, '', 'JPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (51, 'Double Indemnity', 'A', '1944', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (52, 'Das Boot', 'D', '1981', 0, '', 'GER');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (53, 'Eternal Sunshine of the Spotless Mind', 'C', '2004', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (54, 'Singin\' in the Rain', 'D', '1952', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (55, 'Chinatown', 'D', '1974', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (56, 'L.A. Confidential', 'A', '1997', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (57, 'The Maltese Falcon', 'A', '1941', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (58, 'Requiem for a Dream', 'D', '2000', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (59, 'All About Eve', 'D', '1950', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (60, 'M', 'A', '1931', 0, '', 'GER');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (61, 'The Bridge on the River Kwai', 'D', '1957', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (62, 'Se7en', 'D', '1995', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (63, 'Monty Python and the Holy Grail', 'C', '1975', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (64, 'Rashomon', 'W', '1950', 0, '', 'JPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (65, 'Saving Private Ryan', 'D', '1998', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (66, 'Raging Bull', 'D', '1980', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (67, 'The Wizard of Oz', 'S', '1939', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (68, 'Alien', 'S', '1979', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (69, 'American History X', 'D', '1998', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (70, 'The Sting', 'D', '1973', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (71, 'Leon', 'D', '1994', 0, '', 'FR');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (72, 'Mr. Smith Goes to Washington', 'D', '1939', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (73, 'The Manchurian Candidate', 'D', '1962', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (74, 'Life is Beautiful', 'D', '1997', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (75, 'Touch of Evil', 'A', '1958', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (76, 'Treasure of the Sierra Madre', 'D', '1948', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (77, 'Finding Nemo', 'N', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (78, '2001: A Space Odyssey', 'S', '1968', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (79, 'Reservoir Dogs', 'A', '1992', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (80, 'The Great Escape', 'D', '1963', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (81, 'Modern Times', 'C', '1936', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (82, 'A Clockwork Orange', 'H', '1971', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (83, 'Amadeus', 'D', '1984', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (84, 'On the Waterfront', 'D', '1954', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (85, 'Kill Bill: Vol. 1', 'A', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (86, 'Ran', 'W', '1985', 0, '', 'JPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (87, 'Annie Hall', 'C', '1977', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (88, 'Crouching Tiger Hidden Dragon', 'S', '2000', 0, '', 'HKG');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (89, 'Jaws', 'H', '1975', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (90, 'Braveheart', 'D', '1995', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (91, 'The Apartment', 'C', '1960', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (92, 'High Noon', 'T', '1952', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (93, 'Aliens', 'H', '1986', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (94, 'Fargo', 'C', '1996', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (95, 'Strangers on a Train', 'A', '1951', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (96, 'The Shining', 'H', '1980', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (97, 'Metropolis', 'S', '1927', 0, '', 'GER');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (98, 'Blade Runner', 'S', '1982', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (99, 'The Sixth Sense', 'H', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (100, 'Donnie Darko', 'D', '2001', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (101, 'City Lights', 'C', '1931', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (102, 'Duck Soup', 'C', '1933', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (103, 'The Great Dictator', 'C', '1940', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (104, 'The Seventh Seal', 'W', '1957', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (105, 'The General', 'C', '1927', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (106, 'The Princess Bride', 'C', '1987', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (107, 'Dogville', 'D', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (108, 'Cinema Paradiso', 'D', '1989', 0, '', 'ITA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (109, 'Princess Mononoke', 'N', '1997', 0, '', 'JPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (110, 'Notorious', 'A', '1946', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (111, 'Rebecca', 'A', '1940', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (112, 'Full Metal Jacket', 'A', '1987', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (113, 'Toy Story 2', 'N', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (114, 'Run Lola Run', 'W', '1998', 0, '', 'GER');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (115, 'The Big Sleep', 'D', '1946', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (116, 'The Best Years of Our Lives', 'D', '1946', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (117, 'Yojimbo', 'W', '1961', 0, '', 'JPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (118, 'Butch Cassidy and the Sundance', 'T', '1969', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (119, 'The Bicycle Thieves', 'W', '1948', 0, '', 'ITA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (120, 'The Graduate', 'C', '1967', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (121, 'Patton', 'D', '1970', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (122, 'Terminator 2: Judgment Day', 'S', '1991', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (123, 'It Happened One Night', 'C', '1934', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (124, 'The Deer Hunter', 'D', '1978', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (125, 'Manhattan', 'C', '1979', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (126, 'Forrest Gump', 'C', '1994', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (127, 'Kill Bill: Vol. 2', 'A', '2004', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (128, 'Glory', 'D', '1989', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (129, 'The Searchers', 'T', '1956', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (130, 'Mystic River', 'D', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (131, 'The Philadelphia Story', 'C', '1940', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (132, 'Cool Hand Luke', 'D', '1967', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (133, 'The African Queen', 'D', '1951', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (134, 'Ben-Hur', 'D', '1959', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (135, 'Once Upon a Time in America', 'D', '1984', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (136, 'Bringing Up Baby', 'C', '1938', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (137, 'Unforgiven', 'T', '1992', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (138, 'The Green Mile', 'D', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (139, 'Talk To Her', 'W', '2002', 0, '', 'SPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (140, 'Star Wars: Episode VI - Return', 'S', '1983', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (141, 'Stalag 17', 'D', '1953', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (142, 'The Grapes of Wrath', 'W', '1940', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (143, 'The Elephant Man', 'D', '1980', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (144, 'Shrek', 'N', '2001', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (145, 'Arsenic and Old Lace', 'C', '1944', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (146, 'The Night of the Hunter', 'D', '1955', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (147, 'Gone with the Wind', 'I', '1939', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (148, 'Indiana Jones and the Last Crusade', 'A', '1989', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (149, 'A Christmas Story', 'C', '1983', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (150, 'The Wild Bunch', 'T', '1969', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (151, 'Back to the Future', 'S', '1985', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (152, 'The Straight Story', 'D', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (153, 'Platoon', 'I', '1986', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (154, 'All Quiet on the Western Front', 'I', '1930', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (155, 'The Hustler', 'D', '1961', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (156, 'Wild Strawberries', 'W', '1957', 0, '', 'SWE');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (157, 'Amores perros', 'W', '2000', 0, '', 'MEX');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (158, 'Young Frankenstein', 'C', '1974', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (159, 'The Adventures of Robin Hood', 'D', '1938', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (160, 'The Gold Rush', 'C', '1925', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (161, 'Die Hard', 'A', '1988', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (162, 'Monsters Inc.', 'N', '2001', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (163, 'His Girl Friday', 'C', '1940', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (164, 'Lost in Translation', 'C', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (165, 'Life of Brian', 'C', '1979', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (166, 'Battleship Potemkin', 'W', '1925', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (167, 'Spartacus', 'I', '1960', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (168, 'La Grande illusion', 'W', '1937', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (169, 'The Man Who Shot Liberty Valance', 'T', '1962', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (170, 'Charade', 'C', '1963', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (171, 'The 400 Blows', 'W', '1959', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (172, 'Gladiator', 'I', '2000', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (173, 'Witness for the Prosecution', 'D', '1957', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (174, 'Festen', 'W', '1998', 0, '', 'DEN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (175, 'The Conversation', 'A', '1974', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (176, 'Hero', 'W', '2002', 0, '', 'HKG');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (177, 'Almost Famous', 'D', '2000', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (178, 'Sling Blade', 'A', '1996', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (179, 'Roman Holiday', 'C', '1953', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (180, 'Toy Story', 'N', '1995', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (181, 'Magnolia', 'D', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (182, 'The Day the Earth Stood Still', 'S', '1951', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (183, 'A Night at the Opera', 'C', '1935', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (184, 'A Streetcar Named Desire', 'D', '1951', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (185, 'Brazil', 'S', '1985', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (186, 'All the President\'s Men', 'I', '1976', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (187, 'The Insider', 'D', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (188, 'Ed Wood', 'D', '1994', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (189, 'Three Colours: Blue', 'W', '1994', 0, '', 'FR');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (190, 'To Be or Not to Be', 'C', '1942', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (191, 'The Killing', 'A', '1956', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (192, 'Shadow of a Doubt', 'A', '1943', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (193, 'Being John Malkovich', 'D', '1999', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (194, 'Who\'s Afraid of Virginia Woolf', 'D', '1966', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (195, 'The Exorcist', 'H', '1973', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (196, 'Dog Day Afternoon', 'A', '1975', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (197, 'Stand by Me', 'D', '1986', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (198, 'Mulholland Dr.', 'D', '2001', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (199, 'Harvey', 'C', '1950', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (200, 'Twelve Monkeys', 'S', '1995', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (201, 'The Terminator', 'S', '1984', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (202, 'Nosferatu - The Vampire', 'H', '1922', 0, '', 'GER');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (203, 'Gandhi', 'I', '1982', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (204, 'Hotaru no haka', 'W', '1988', 0, '', 'JPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (205, 'Pirates of the Caribbean', 'A', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (206, 'Groundhog Day', 'C', '1993', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (207, 'The Lion in Winter', 'I', '1968', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (208, 'This Is Spinal Tap', 'C', '1984', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (209, 'Trainspotting', 'D', '1996', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (210, 'Miller\'s Crossing', 'A', '1990', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (211, 'Whale Rider', 'D', '2002', 0, '', 'NZ');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (212, 'The Right Stuff', 'I', '1983', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (213, 'Adaptation.', 'C', '2002', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (214, 'Big Fish', 'C', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (215, '21 Grams', 'D', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (216, 'Rain Man', 'D', '1988', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (217, 'Ikiru', 'W', '1952', 0, '', 'JPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (218, 'Network', 'D', '1976', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (219, 'Midnight Cowboy', 'D', '1969', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (220, 'Bonnie and Clyde', 'D', '1967', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (221, 'Laura', 'D', '1944', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (222, '8 and a half', 'W', '1963', 0, '', 'ITA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (223, 'La Strada', 'W', '1954', 0, '', 'ITA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (224, 'Stagecoach', 'T', '1939', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (225, 'King Kong', 'H', '1933', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (226, 'The 39 Steps', 'A', '1935', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (227, 'X2', 'S', '2003', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (228, 'Snatch.', 'C', '2000', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (229, 'Lock Stock and Two Smoking Barrels', 'A', '1998', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (230, 'La Passion de Jeanne d\'Arc', 'W', '1928', 0, '', 'FR');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (231, 'The Big Lebowski', 'C', '1998', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (232, 'The Others', 'H', '2001', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (233, 'The Untouchables', 'I', '1987', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (234, 'Rio Bravo', 'T', '1959', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (235, 'In the Heat of the Night', 'D', '1967', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (236, 'The Thin Man', 'C', '1934', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (237, 'Planet of the Apes', 'S', '1968', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (238, 'Sunrise: A Song of Two Humans', 'D', '1927', 0, '', 'GER');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (239, 'Red River', 'T', '1948', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (240, 'Minority Report', 'S', '2002', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (241, 'In America', 'D', '2002', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (242, 'Beauty and the Beast', 'N', '1991', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (243, 'Traffic', 'D', '2000', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (244, 'Bride of Frankenstein', 'H', '1935', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (245, 'Fantasia', 'N', '1940', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (246, 'Kind Hearts and Coronets', 'C', '1949', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (247, 'The Killer', 'A', '1989', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (248, 'Sleuth', 'A', '1972', 0, '', 'UK');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (249, 'Good Will Hunting', 'D', '1997', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (250, 'Henry V', 'I', '1989', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (251, 'Being There', 'D', '1979', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (252, 'All About My Mother', 'W', '1999', 0, '', 'SPN');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (253, 'Les Enfants du paradis', 'W', '1945', 0, '', 'FR');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (254, 'Heat', 'A', '1995', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (255, 'The Quiet Man', 'D', '1952', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (256, 'Clerks.', 'C', '1994', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_film` VALUES (257, 'E.T. the Extra-Terrestrial', 'S', '1982', 0, '', 'USA');&quot;; $stat = $_connection-&gt;Execute($sql);}

if ( $stat ) { $sql = &quot;
CREATE TABLE `reptut_loan` (
  `film_id` int(11) NOT NULL default '0',
  `member_id` int(11) NOT NULL default '0',
  `loan_date` datetime default NULL,
  `return_date` datetime default NULL
) ;
&quot;; $stat = $_connection-&gt;Execute($sql);}

if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 41, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 167 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 165 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 182, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 165 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 163 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 140, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 42, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 122 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 121 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 52, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 159 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 155 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 187, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 79 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 79 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 186, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 21 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 86, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 153 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 153 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 32, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 61 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 58 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 138, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 53 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 51 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 236, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 26 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 43, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 143 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 142 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 235, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 9, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 46 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 102, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 120 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 116 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 38, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 82 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 98, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 177 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 174 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 193, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 86 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 82 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 61, 1, DATE_ADD(CURRENT_DATE, INTERVAL - 70 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 70 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 109, 3, DATE_ADD(CURRENT_DATE, INTERVAL - 51 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 151, 3, DATE_ADD(CURRENT_DATE, INTERVAL - 92 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 88 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 60, 3, DATE_ADD(CURRENT_DATE, INTERVAL - 168 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 164 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 84, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 225, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 87, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 38 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 37 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 94, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 100, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 113 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 29, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 141 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 139 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 214, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 13, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 166 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 161 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 40, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 73 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 236, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 211 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 207 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 36, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 26 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 116, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 238, 4, DATE_ADD(CURRENT_DATE, INTERVAL - 239 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 238 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 51, 5, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 70, 5, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 50, 5, DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 63, 5, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 139, 5, DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 57, 5, DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 225, 5, DATE_ADD(CURRENT_DATE, INTERVAL - 38 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 146, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 146 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 144 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 24, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 38, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 235 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 232 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 55, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 55 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 54 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 113, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 204 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 200 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 118, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 205 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 201 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 192, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 150 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 149 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 223, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 161 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 156 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 184, 6, DATE_ADD(CURRENT_DATE, INTERVAL - 238 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 233 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 82, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 50 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 49 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 77, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 241, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 14, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 131, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 121, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 37 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 29, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 217, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 101 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 99 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 196, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 55 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 52 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 193, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 60 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 55 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 53, 7, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 240, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 34 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 20, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 208, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 22, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 6, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 90, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 108, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 2, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 26 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 21, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 46 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 58, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 102, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 20 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 0, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 11, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 39 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 66, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 34 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 29 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 241, 8, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 30, 9, DATE_ADD(CURRENT_DATE, INTERVAL - 167 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 165 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 13, 9, DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 32 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 129, 9, DATE_ADD(CURRENT_DATE, INTERVAL - 199 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 199 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 58, 9, DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 103 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 99, 9, DATE_ADD(CURRENT_DATE, INTERVAL - 180 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 179 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 231, 9, DATE_ADD(CURRENT_DATE, INTERVAL - 94 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 90 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 75, 9, DATE_ADD(CURRENT_DATE, INTERVAL - 212 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 209 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 111, 9, DATE_ADD(CURRENT_DATE, INTERVAL - 160 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 158 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 165, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 96, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 61 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 195, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 30, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 20 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 205, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 92 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 90 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 110, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 100 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 100 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 60, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 64 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 61 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 42, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 157 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 155 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 95, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 158 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 155 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 222, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 163 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 163 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 93, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 195, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 123 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 118 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 78, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 143, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 90 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 90 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 155, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 136 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 135 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 124, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 148 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 146 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 166, 10, DATE_ADD(CURRENT_DATE, INTERVAL - 135 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 135 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 75, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 152 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 149 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 140, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 37 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 32 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 26, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 242 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 242 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 104, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 111 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 106 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 116, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 114 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 109 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 5, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 202 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 197 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 4, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 346 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 346 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 250, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 159 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 154 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 248, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 81, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 177, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 74 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 73 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 10, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 101, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 74 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 71 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 168, 11, DATE_ADD(CURRENT_DATE, INTERVAL - 241 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 239 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 157, 12, DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 38 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 132, 12, DATE_ADD(CURRENT_DATE, INTERVAL - 148 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 143 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 230, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 282 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 277 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 143, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 29 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 26 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 218, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 29 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 43, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 236 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 232 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 87, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 254 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 249 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 131, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 250 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 246 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 82, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 319 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 318 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 32, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 126 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 126 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 47, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 71 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 69 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 235, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 121 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 120 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 220, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 288 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 286 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 222, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 229, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 225 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 222 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 0, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 272 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 267 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 6, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 184 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 180 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 231, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 292 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 292 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 143, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 196, 13, DATE_ADD(CURRENT_DATE, INTERVAL - 61 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 60 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 19, 14, DATE_ADD(CURRENT_DATE, INTERVAL - 97 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 169, 14, DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 41 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 252, 14, DATE_ADD(CURRENT_DATE, INTERVAL - 128 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 124 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 149, 14, DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 196, 14, DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 11, 14, DATE_ADD(CURRENT_DATE, INTERVAL - 123 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 120 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 207, 14, DATE_ADD(CURRENT_DATE, INTERVAL - 53 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 52 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 126, 14, DATE_ADD(CURRENT_DATE, INTERVAL - 100 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 96 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 166, 15, DATE_ADD(CURRENT_DATE, INTERVAL - 131 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 129 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 17, 15, DATE_ADD(CURRENT_DATE, INTERVAL - 52 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 109, 15, DATE_ADD(CURRENT_DATE, INTERVAL - 111 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 109 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 199, 15, DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 113, 15, DATE_ADD(CURRENT_DATE, INTERVAL - 153 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 152 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 42, 15, DATE_ADD(CURRENT_DATE, INTERVAL - 175 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 173 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 106, 16, DATE_ADD(CURRENT_DATE, INTERVAL - 31 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 61, 16, DATE_ADD(CURRENT_DATE, INTERVAL - 31 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 88, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 180, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 9, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 239, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 255, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 91, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 158, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 26, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 10, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 190, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 197, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 32, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 187, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 153, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 112, 17, DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 110, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 101 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 101 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 102, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 203 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 199 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 66, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 306 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 303 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 220, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 181, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 105 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 101 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 109, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 268 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 265 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 169, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 297 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 292 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 81, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 279 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 277 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 124, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 309 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 304 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 54, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 104 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 155, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 275 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 272 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 227, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 58 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 145, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 97 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 95 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 223, 18, DATE_ADD(CURRENT_DATE, INTERVAL - 159 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 157 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 217, 20, DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 37, 20, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 133, 20, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 1, 20, DATE_ADD(CURRENT_DATE, INTERVAL - 45 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 177, 20, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 161, 20, DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 100, 20, DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 231, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 81 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 76 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 6, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 71 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 68 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 62, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 149, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 28, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 77 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 75 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 1, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 103 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 102 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 94, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 99 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 94 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 225, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 38 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 81, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 46 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 92, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 146, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 54 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 50 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 114, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 54 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 50 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 97, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 178, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 189, 21, DATE_ADD(CURRENT_DATE, INTERVAL - 89 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 86 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 69, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 54 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 54 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 204, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 238, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 134 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 130 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 193, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 90, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 139, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 97, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 23, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 170, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 97 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 92 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 194, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 109 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 104 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 84, 22, DATE_ADD(CURRENT_DATE, INTERVAL - 131 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 126 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 89, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 184 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 182 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 217, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 152 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 149 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 93, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 37 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 35, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 55, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 169 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 167 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 1, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 53 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 237, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 24 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 203, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 249 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 248 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 135, 23, DATE_ADD(CURRENT_DATE, INTERVAL - 49 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 74, 24, DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 241, 24, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 129, 24, DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 203, 24, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 148, 24, DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 200, 24, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 96, 25, DATE_ADD(CURRENT_DATE, INTERVAL - 173 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 170 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 188, 25, DATE_ADD(CURRENT_DATE, INTERVAL - 210 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 210 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 7, 25, DATE_ADD(CURRENT_DATE, INTERVAL - 323 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 321 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 20, 25, DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 61, 25, DATE_ADD(CURRENT_DATE, INTERVAL - 259 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 256 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 158, 25, DATE_ADD(CURRENT_DATE, INTERVAL - 244 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 239 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 216, 25, DATE_ADD(CURRENT_DATE, INTERVAL - 189 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 184 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 166, 25, DATE_ADD(CURRENT_DATE, INTERVAL - 313 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 309 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 238, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 75, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 131, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 11, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 20 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 76, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 70, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 114, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 150, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 211, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 87, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 16, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 20 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 8, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 200, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 62, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 90, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 19, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 166, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 30, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 20 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 226, 26, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 87, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 94 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 89 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 22, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 60 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 212, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 78 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 76 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 210, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 99 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 96 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 61, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 88 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 86 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 47, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 43, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 76 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 73 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 17, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 80 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 77 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 173, 27, DATE_ADD(CURRENT_DATE, INTERVAL - 62 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 62 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 191, 28, DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 192, 28, DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 7, 28, DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 200, 28, DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 60, 28, DATE_ADD(CURRENT_DATE, INTERVAL - 24 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 125, 28, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 239, 29, DATE_ADD(CURRENT_DATE, INTERVAL - 149 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 147 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 249, 29, DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 54 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 176, 29, DATE_ADD(CURRENT_DATE, INTERVAL - 118 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 118 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 76, 29, DATE_ADD(CURRENT_DATE, INTERVAL - 139 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 135 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 255, 29, DATE_ADD(CURRENT_DATE, INTERVAL - 204 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 203 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 230, 29, DATE_ADD(CURRENT_DATE, INTERVAL - 178 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 176 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 119, 29, DATE_ADD(CURRENT_DATE, INTERVAL - 190 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 190 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 248, 29, DATE_ADD(CURRENT_DATE, INTERVAL - 138 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 134 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 230, 30, DATE_ADD(CURRENT_DATE, INTERVAL - 77 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 73 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 25, 30, DATE_ADD(CURRENT_DATE, INTERVAL - 88 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 86 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 216, 30, DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 97, 30, DATE_ADD(CURRENT_DATE, INTERVAL - 37 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 34 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 254, 30, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 159, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 256 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 251 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 180, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 212 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 210 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 254, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 195 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 194 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 29, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 160 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 159 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 150, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 21, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 155, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 163 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 163 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 90, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 42, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 46, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 95 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 95 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 43, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 36 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 36 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 152, 31, DATE_ADD(CURRENT_DATE, INTERVAL - 145 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 142 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 237, 32, DATE_ADD(CURRENT_DATE, INTERVAL - 250 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 250 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 121, 32, DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 82, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 113, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 255 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 250 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 95, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 168 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 168 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 240, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 214 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 209 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 204, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 176 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 174 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 243, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 184 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 182 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 135, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 258 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 254 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 240, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 26 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 116, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 231 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 227 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 136, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 106 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 106 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 178, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 189 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 186 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 66, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 241, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 233 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 228 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 94, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 29 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 29, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 110 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 110 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 109, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 79 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 75 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 5, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 209 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 206 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 173, 33, DATE_ADD(CURRENT_DATE, INTERVAL - 255 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 254 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 89, 34, DATE_ADD(CURRENT_DATE, INTERVAL - 76 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 75 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 101, 34, DATE_ADD(CURRENT_DATE, INTERVAL - 58 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 212, 34, DATE_ADD(CURRENT_DATE, INTERVAL - 155 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 151 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 232, 34, DATE_ADD(CURRENT_DATE, INTERVAL - 190 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 186 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 17, 34, DATE_ADD(CURRENT_DATE, INTERVAL - 150 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 147 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 83, 34, DATE_ADD(CURRENT_DATE, INTERVAL - 136 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 135 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 103, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 50 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 40, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 206 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 201 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 220, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 251, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 132, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 94 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 89 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 93, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 21 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 87, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 99, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 62 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 58 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 145, 35, DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 183, 36, DATE_ADD(CURRENT_DATE, INTERVAL - 246 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 245 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 123, 36, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 201, 36, DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 55 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 196, 36, DATE_ADD(CURRENT_DATE, INTERVAL - 84 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 82 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 240, 36, DATE_ADD(CURRENT_DATE, INTERVAL - 90 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 206, 36, DATE_ADD(CURRENT_DATE, INTERVAL - 147 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 145 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 167, 36, DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 69 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 153, 36, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 68, 37, DATE_ADD(CURRENT_DATE, INTERVAL - 46 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 41 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 196, 38, DATE_ADD(CURRENT_DATE, INTERVAL - 32 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 37, 38, DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 69, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 200, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 63 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 61 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 66, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 152, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 253, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 244, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 188, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 17, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 219, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 51 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 235, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 228, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 26 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 158, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 66 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 61 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 135, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 29, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 251, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 69 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 69 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 212, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 79 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 75 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 66, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 6, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 29, 39, DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 41, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 90 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 119, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 248, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 21 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 236, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 94 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 80, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 63 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 62 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 151, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 173 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 169 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 223, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 140 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 139 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 102, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 214, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 58 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 182, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 114 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 112 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 71, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 110 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 30, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 79, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 52 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 204, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 84 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 26, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 82 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 78 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 133, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 184 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 183 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 25, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 62 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 180, 40, DATE_ADD(CURRENT_DATE, INTERVAL - 142 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 140 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 98, 41, DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 95, 41, DATE_ADD(CURRENT_DATE, INTERVAL - 89 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 30, 41, DATE_ADD(CURRENT_DATE, INTERVAL - 34 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 34 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 211, 41, DATE_ADD(CURRENT_DATE, INTERVAL - 103 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 99 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 228, 41, DATE_ADD(CURRENT_DATE, INTERVAL - 129 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 124 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 125, 42, DATE_ADD(CURRENT_DATE, INTERVAL - 127 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 127 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 17, 42, DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 199, 42, DATE_ADD(CURRENT_DATE, INTERVAL - 119 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 115 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 112, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 231, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 159, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 51, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 24, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 20 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 81, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 58 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 65, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 84 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 80 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 143, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 102, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 29 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 9, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 174, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 104 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 101 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 202, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 98 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 12, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 75, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 46 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 67, 43, DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 224, 44, DATE_ADD(CURRENT_DATE, INTERVAL - 80 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 78 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 75, 44, DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 184, 44, DATE_ADD(CURRENT_DATE, INTERVAL - 51 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 197, 44, DATE_ADD(CURRENT_DATE, INTERVAL - 32 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 2, 44, DATE_ADD(CURRENT_DATE, INTERVAL - 95 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 91 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 86, 44, DATE_ADD(CURRENT_DATE, INTERVAL - 54 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 49 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 215, 44, DATE_ADD(CURRENT_DATE, INTERVAL - 91 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 86 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 200, 45, DATE_ADD(CURRENT_DATE, INTERVAL - 51 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 1, 45, DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 69 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 13, 45, DATE_ADD(CURRENT_DATE, INTERVAL - 178 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 173 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 78, 45, DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 234, 46, DATE_ADD(CURRENT_DATE, INTERVAL - 209 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 204 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 86, 46, DATE_ADD(CURRENT_DATE, INTERVAL - 170 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 165 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 68, 46, DATE_ADD(CURRENT_DATE, INTERVAL - 96 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 6, 46, DATE_ADD(CURRENT_DATE, INTERVAL - 213 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 209 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 142, 46, DATE_ADD(CURRENT_DATE, INTERVAL - 119 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 114 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 155, 46, DATE_ADD(CURRENT_DATE, INTERVAL - 169 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 167 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 178, 46, DATE_ADD(CURRENT_DATE, INTERVAL - 312 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 310 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 79, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 211 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 209 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 175, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 102 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 98 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 86, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 298 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 298 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 85, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 144, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 288 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 283 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 33, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 196, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 175 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 172 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 241, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 45 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 103, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 321 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 320 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 20, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 171 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 169 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 57, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 29 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 234, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 220 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 215 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 170, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 57 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 193, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 177 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 176 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 97, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 24 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 133, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 109 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 154, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 205 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 204 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 30, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 38 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 138, 47, DATE_ADD(CURRENT_DATE, INTERVAL - 24 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 83, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 228, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 50, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 69, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 192, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 149, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 123, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 2 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 21, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 18 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 229, 48, DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 155, 49, DATE_ADD(CURRENT_DATE, INTERVAL - 163 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 159 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 14, 49, DATE_ADD(CURRENT_DATE, INTERVAL - 220 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 219 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 3, 49, DATE_ADD(CURRENT_DATE, INTERVAL - 238 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 233 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 255, 49, DATE_ADD(CURRENT_DATE, INTERVAL - 280 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 278 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 111, 49, DATE_ADD(CURRENT_DATE, INTERVAL - 227 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 225 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 182, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 71 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 70 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 153, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 64 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 64 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 219, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 52 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 153, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 100 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 97 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 49, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 37, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 95 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 216, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 55 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 70, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 56, 50, DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 71 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 158, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 45 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 148, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 252, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 65 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 63 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 119, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 20 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 21, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 101 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 101 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 1, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 75, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 70, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 120 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 120 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 179, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 210, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 20, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 107 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 103 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 154, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 121 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 119 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 63, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 235, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 123 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 120 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 250, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 132 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 127 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 155, 51, DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 161, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 95 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 91 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 131, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 145 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 145 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 149, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 124 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 122 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 184, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 141 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 141 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 78, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 45 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 42 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 21, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 31 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 85, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 92 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 75, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 210, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 153 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 148 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 9, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 252, 52, DATE_ADD(CURRENT_DATE, INTERVAL - 21 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 135, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 88 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 84 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 134, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 161, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 79 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 77 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 185, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 94 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 19, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 222, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 194, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 41 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 38 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 203, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 54 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 52 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 152, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 46 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 101, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 63 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 61 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 25, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 89 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 241, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 71 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 66 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 255, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 59, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 68 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 63 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 100, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 66 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 65 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 113, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 76 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 74 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 53, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 77 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 77 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 135, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 69 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 66 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 54, 53, DATE_ADD(CURRENT_DATE, INTERVAL - 53 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 52 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 237, 54, DATE_ADD(CURRENT_DATE, INTERVAL - 77 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 75 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 191, 54, DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 91 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 170, 54, DATE_ADD(CURRENT_DATE, INTERVAL - 128 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 124 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 115, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 285 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 285 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 155, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 271 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 271 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 191, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 184 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 182 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 228, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 204 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 201 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 198, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 39 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 211, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 297 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 297 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 190, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 161 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 160 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 243, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 37 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 155, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 194 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 192 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 101, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 112 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 110 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 172, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 238 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 234 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 67, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 60 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 60 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 129, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 230 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 225 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 179, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 171 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 168 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 149, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 143 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 138 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 15, 55, DATE_ADD(CURRENT_DATE, INTERVAL - 200 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 199 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 166, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 220 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 218 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 176, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 41 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 38 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 206, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 98, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 249 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 245 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 109, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 215 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 210 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 212, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 180 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 175 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 109, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 68 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 66 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 150, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 95 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 110, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 160 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 155 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 133, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 162 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 160 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 94, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 146 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 146 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 184, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 280 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 275 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 35, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 149 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 148 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 107, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 277 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 277 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 214, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 150 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 148 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 103, 56, DATE_ADD(CURRENT_DATE, INTERVAL - 104 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 100 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 135, 57, DATE_ADD(CURRENT_DATE, INTERVAL - 24 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 22 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 225, 57, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 129, 57, DATE_ADD(CURRENT_DATE, INTERVAL - 68 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 65 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 189, 57, DATE_ADD(CURRENT_DATE, INTERVAL - 73 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 17, 57, DATE_ADD(CURRENT_DATE, INTERVAL - 66 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 62 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 91, 57, DATE_ADD(CURRENT_DATE, INTERVAL - 53 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 53 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 27, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 102, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 14, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 8, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 169, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 9 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 217, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 52, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 250, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 53, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 252, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 140, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 118, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 100, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 3 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 252, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 254, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 7 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 6 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 6, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 228, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 34, 58, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 8 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 28, 59, DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 79, 59, DATE_ADD(CURRENT_DATE, INTERVAL - 233 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 231 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 40, 59, DATE_ADD(CURRENT_DATE, INTERVAL - 136 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 131 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 144, 59, DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 31 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 189, 59, DATE_ADD(CURRENT_DATE, INTERVAL - 281 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 276 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 28, 59, DATE_ADD(CURRENT_DATE, INTERVAL - 240 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 239 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 118, 61, DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 39 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 130, 61, DATE_ADD(CURRENT_DATE, INTERVAL - 31 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 31 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 116, 61, DATE_ADD(CURRENT_DATE, INTERVAL - 34 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 34 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 42, 61, DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 45 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 54, 61, DATE_ADD(CURRENT_DATE, INTERVAL - 37 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 76, 61, DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 39 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 2, 61, DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 36 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 104, 61, DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 43, 62, DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 105 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 30, 62, DATE_ADD(CURRENT_DATE, INTERVAL - 185 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 184 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 217, 62, DATE_ADD(CURRENT_DATE, INTERVAL - 76 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 71 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 80, 62, DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 67 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 216, 62, DATE_ADD(CURRENT_DATE, INTERVAL - 212 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 212 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 255, 62, DATE_ADD(CURRENT_DATE, INTERVAL - 198 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 195 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 113, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 149, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 229, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 71 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 68 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 44, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 50 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 45 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 223, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 62 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 102, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 221, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 32 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 32 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 223, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 232, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 51, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 79 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 77 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 238, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 24 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 23 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 55, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 87 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 86 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 61, 63, DATE_ADD(CURRENT_DATE, INTERVAL - 21 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 20 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 48, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 111 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 106 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 150, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 324 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 319 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 239, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 257 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 252 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 10, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 145, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 133 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 133 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 137, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 105 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 105 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 106, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 44 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 41 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 225, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 158 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 155 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 38, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 219 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 219 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 232, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 203 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 199 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 200, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 166 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 165 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 213, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 65 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 64 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 214, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 294 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 291 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 86, 65, DATE_ADD(CURRENT_DATE, INTERVAL - 43 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 39 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 46, 66, DATE_ADD(CURRENT_DATE, INTERVAL - 45 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 74, 66, DATE_ADD(CURRENT_DATE, INTERVAL - 40 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 36 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 187, 66, DATE_ADD(CURRENT_DATE, INTERVAL - 21 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 21 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 15, 66, DATE_ADD(CURRENT_DATE, INTERVAL - 50 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 49 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 185, 67, DATE_ADD(CURRENT_DATE, INTERVAL - 171 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 171 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 245, 67, DATE_ADD(CURRENT_DATE, INTERVAL - 75 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 74 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 17, 67, DATE_ADD(CURRENT_DATE, INTERVAL - 144 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 142 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 197, 67, DATE_ADD(CURRENT_DATE, INTERVAL - 258 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 253 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 69, 67, DATE_ADD(CURRENT_DATE, INTERVAL - 211 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 211 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 115, 67, DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 48 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 234, 67, DATE_ADD(CURRENT_DATE, INTERVAL - 248 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 243 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 102, 67, DATE_ADD(CURRENT_DATE, INTERVAL - 221 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 217 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 114, 68, DATE_ADD(CURRENT_DATE, INTERVAL - 0 DAY), NULL );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 48, 68, DATE_ADD(CURRENT_DATE, INTERVAL - 142 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 140 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 6, 68, DATE_ADD(CURRENT_DATE, INTERVAL - 165 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 165 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 230, 68, DATE_ADD(CURRENT_DATE, INTERVAL - 59 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 56 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 98, 68, DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 23, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 4 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 180, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 25 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 135, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 150, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 1 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 63, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 73, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 14 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 126, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 183, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 33 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 110, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 36 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 35 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 182, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 41 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 41 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 143, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 28 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 184, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 13 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 42, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 15 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 190, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 32 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 27 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 61, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 24 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 204, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 5 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 97, 69, DATE_ADD(CURRENT_DATE, INTERVAL - 19 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 17 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 243, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 164 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 162 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 219, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 134 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 133 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 114, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 12 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 10 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 74, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 283 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 283 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 209, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 74 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 72 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 139, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 224 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 219 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 61, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 32 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 30 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 222, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 299 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 298 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 203, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 98 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 96 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 163, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 112 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 108 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 144, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 149 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 145 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 63, 70, DATE_ADD(CURRENT_DATE, INTERVAL - 24 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 21 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 247, 71, DATE_ADD(CURRENT_DATE, INTERVAL - 96 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 93 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 14, 71, DATE_ADD(CURRENT_DATE, INTERVAL - 229 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 227 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 17, 71, DATE_ADD(CURRENT_DATE, INTERVAL - 113 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 109 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 214, 71, DATE_ADD(CURRENT_DATE, INTERVAL - 86 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 84 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 203, 71, DATE_ADD(CURRENT_DATE, INTERVAL - 73 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 73 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 182, 72, DATE_ADD(CURRENT_DATE, INTERVAL - 281 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 277 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 44, 72, DATE_ADD(CURRENT_DATE, INTERVAL - 273 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 273 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 147, 72, DATE_ADD(CURRENT_DATE, INTERVAL - 16 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 11 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 213, 72, DATE_ADD(CURRENT_DATE, INTERVAL - 52 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 47 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 11, 73, DATE_ADD(CURRENT_DATE, INTERVAL - 90 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 85 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 160, 73, DATE_ADD(CURRENT_DATE, INTERVAL - 345 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 344 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 223, 73, DATE_ADD(CURRENT_DATE, INTERVAL - 258 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 254 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 149, 73, DATE_ADD(CURRENT_DATE, INTERVAL - 295 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 295 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 75, 73, DATE_ADD(CURRENT_DATE, INTERVAL - 138 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 135 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO reptut_loan VALUES ( 163, 73, DATE_ADD(CURRENT_DATE, INTERVAL - 172 DAY), DATE_ADD(CURRENT_DATE, INTERVAL - 169 DAY) );&quot;; $stat = $_connection-&gt;Execute($sql);}

if ( $stat ) { $sql = &quot;
CREATE TABLE `reptut_member` (
  `member_id` int(11) NOT NULL auto_increment,
  `first_name` varchar(20) default NULL,
  `last_name` varchar(20) default NULL,
  `join_date` date NOT NULL default '0000-00-00',
  PRIMARY KEY  (`member_id`)
) AUTO_INCREMENT=74 ;
&quot;; $stat = $_connection-&gt;Execute($sql);}


if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (1, 'Fernando', 'Sweetland', '2004-12-06');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (2, 'Darren', 'Turrentine', '2004-11-09');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (3, 'Eve', 'Tussey', '2004-11-08');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (4, 'Tameka', 'Ree', '2004-10-01');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (5, 'Hugh', 'Voliva', '2005-04-16');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (6, 'Jami', 'Pleiman', '2004-07-26');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (7, 'Jamie', 'Lockamy', '2005-02-10');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (8, 'Julio', 'Boyko', '2005-04-19');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (9, 'Harriett', 'Ohearn', '2004-08-18');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (10, 'Ted', 'Nanney', '2004-11-22');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (11, 'Cody', 'Pledger', '2004-06-21');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (12, 'Neil', 'Halderman', '2004-07-14');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (13, 'Odessa', 'Jochim', '2004-06-09');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (14, 'Neil', 'Stalker', '2005-01-28');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (15, 'Roslyn', 'Mckenny', '2004-10-19');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (16, 'Jose', 'Fu', '2005-03-24');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (17, 'Zelma', 'Coria', '2005-05-14');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (18, 'Jessie', 'Erazo', '2004-07-20');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (19, 'Lynette', 'Lipe', '2004-10-10');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (20, 'Marla', 'Paulus', '2005-04-14');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (21, 'Ebony', 'Butera', '2005-01-20');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (22, 'Tricia', 'Stamey', '2005-01-21');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (23, 'Marcus', 'Rada', '2004-09-14');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (24, 'Aimee', 'Marts', '2005-05-31');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (25, 'Miguel', 'Fargo', '2004-07-17');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (26, 'Tasha', 'Race', '2005-05-16');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (27, 'Edwin', 'Rayo', '2005-02-23');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (28, 'Francisco', 'Guill', '2005-04-23');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (29, 'Theodore', 'Espitia', '2004-09-06');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (30, 'Randall', 'Voight', '2005-01-30');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (31, 'Latasha', 'Marc', '2004-09-13');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (32, 'Randall', 'Seeley', '2004-06-12');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (33, 'Jon', 'Higgs', '2004-09-20');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (34, 'Tom', 'Kennell', '2004-11-22');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (35, 'Troy', 'Santoro', '2004-11-06');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (36, 'Lela', 'Gehlert', '2004-09-16');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (37, 'Bernard', 'Goulding', '2005-01-24');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (38, 'Ronnie', 'Hutson', '2004-12-08');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (39, 'Jim', 'Winslow', '2005-03-18');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (40, 'Alyssa', 'Kahl', '2004-12-02');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (41, 'Delia', 'Burrier', '2005-01-24');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (42, 'Alisha', 'Wyllie', '2004-12-20');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (43, 'Tammie', 'Frasher', '2005-02-14');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (44, 'Alyssa', 'Ehret', '2005-02-15');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (45, 'Winifred', 'Wehrle', '2004-09-27');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (46, 'Jay', 'Cintron', '2004-06-27');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (47, 'Oscar', 'Bost', '2004-07-11');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (48, 'Jon', 'Wilton', '2005-05-17');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (49, 'Elisa', 'Levasseur', '2004-08-14');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (50, 'Faith', 'Tolleson', '2005-02-10');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (51, 'Don', 'Witherspoon', '2005-01-23');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (52, 'Eddie', 'Koster', '2005-01-02');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (53, 'Kristie', 'Dupras', '2005-02-26');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (54, 'Mario', 'Kuehl', '2005-01-25');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (55, 'Sonja', 'Rueda', '2004-08-09');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (56, 'Alexander', 'Dumont', '2004-08-27');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (57, 'Tom', 'Castello', '2005-03-18');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (58, 'Meredith', 'Nelligan', '2005-05-20');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (59, 'Mindy', 'Wetherell', '2004-08-02');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (60, 'Josefina', 'Deaver', '2005-02-07');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (61, 'Bonita', 'Regalado', '2005-04-12');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (62, 'Cecelia', 'Chaplin', '2004-08-31');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (63, 'Leroy', 'Heineman', '2005-03-10');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (64, 'Theodore', 'Mccleskey', '2005-04-28');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (65, 'Oscar', 'Sellman', '2004-06-27');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (66, 'Lana', 'Derossett', '2004-12-05');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (67, 'Leroy', 'Redding', '2004-08-14');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (68, 'Cecelia', 'Chilton', '2004-12-22');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (69, 'Bernard', 'Reis', '2005-04-24');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (70, 'Gwen', 'Sherlock', '2004-06-08');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (71, 'Ronnie', 'Chaves', '2004-07-18');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (72, 'Ricky', 'Oxendine', '2004-08-03');&quot;; $stat = $_connection-&gt;Execute($sql);}
if ( $stat ) { $sql = &quot;INSERT INTO `reptut_member` VALUES (73, 'Meghan', 'Routh', '2004-06-14');&quot;; $stat = $_connection-&gt;Execute($sql);}

}

if ( !$stat )
{
    trigger_error(&quot;Query Failed&lt;BR&gt;&quot;.$sql.&quot;&lt;br&gt;&quot; . 
         &quot;Error &quot;.$_connection-&gt;ErrorNo(). &quot; - &quot;. 
         $_connection-&gt;ErrorMsg(), E_USER_ERROR); 
}
else
{
    handle_debug(&quot;Tutorial database was successfully created&quot;, SW_DEBUG_NONE);

}


</PreExecuteCode><bodyDisplay>show</bodyDisplay><graphDisplay>show</graphDisplay></Format><Datasource><SourceType>database</SourceType><SourceConnection><DatabaseType></DatabaseType><DatabaseName></DatabaseName><HostName>localhost</HostName><ServiceName></ServiceName><UserName></UserName><Password></Password></SourceConnection></Datasource><EntryForm><Query><TableSql>reptut_category</TableSql><WhereSql>      </WhereSql><GroupSql></GroupSql><RowSelection>all</RowSelection><SQL><QuerySql></QuerySql><SQLLimitFirst></SQLLimitFirst><SQLSkipOffset></SQLSkipOffset></SQL><QueryColumns><QueryColumn><Name>cat_code</Name><TableName></TableName><ColumnName>cat_code</ColumnName><ColumnType>char</ColumnType><ColumnLength>30</ColumnLength><Format><column_display>show</column_display><content_type>plain</content_type><ColumnStartPDF></ColumnStartPDF><justify>left</justify><ColumnWidthPDF></ColumnWidthPDF><ColumnWidthHTML></ColumnWidthHTML><column_title></column_title><tooltip></tooltip><group_header_label></group_header_label><group_header_label_xpos></group_header_label_xpos><group_header_data_xpos></group_header_data_xpos><group_trailer_label></group_trailer_label></Format></QueryColumn></QueryColumns><OrderColumns></OrderColumns><PreSQLS></PreSQLS></Query><Assignments></Assignments><Criteria><CriteriaItem><Name>recreate_tables</Name><Title>Mode</Title><QueryTableName></QueryTableName><QueryColumnName></QueryColumnName><CriteriaType>LIST</CriteriaType><CriteriaDisplay>RADIO</CriteriaDisplay><ExpandDisplay>NOINPUT</ExpandDisplay><ReturnColumn></ReturnColumn><DisplayColumn></DisplayColumn><OverviewColumn></OverviewColumn><MatchColumn></MatchColumn><CriteriaDefaults>C</CriteriaDefaults><CriteriaList>Create Tables=C,Recreate Tables=R,Drop Tables=D</CriteriaList><Query><TableSql></TableSql><WhereSql></WhereSql><GroupSql></GroupSql><RowSelection></RowSelection><SQL><QuerySql></QuerySql></SQL><QueryColumns></QueryColumns><OrderColumns></OrderColumns><Assignments></Assignments></Query><CriteriaLinks></CriteriaLinks></CriteriaItem></Criteria><Output><PageHeaders></PageHeaders><PageFooters></PageFooters><DisplayOrders><DisplayOrder><ColumnName>cat_code</ColumnName><OrderNumber>1</OrderNumber></DisplayOrder></DisplayOrders><Groups></Groups><Graphs></Graphs></Output></EntryForm></ReportQuery></Report>
