⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 230.php

📁 CMS系统
💻 PHP
字号:
<?php

$DB->query("ALTER TABLE " . TABLE_PREFIX . "sessions CHANGE `useragent` `useragent` VARCHAR( 255 ) NOT NULL");
$DB->query("ALTER TABLE " . TABLE_PREFIX . "sessions CHANGE `ipaddress` `ipaddress` VARCHAR( 15 ) NOT NULL");
$DB->query("ALTER TABLE " . TABLE_PREFIX . "sessions CHANGE `location` `location` VARCHAR( 255 ) NOT NULL");

$DB->query("DELETE FROM " . TABLE_PREFIX . "pluginsettings WHERE pluginid = 17 AND title = 'Drop Shadow Thumbnails'");
$DB->query("DELETE FROM " . TABLE_PREFIX . "pluginsettings WHERE pluginid = 17 AND title = 'Drop Shadow MidSize'");

$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'Options', 'Center Images', 'Would you like to center the images on the page?', 'yesno', '1', 10) ");

$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'Thumbnail Options', 'Display Thumbnail Image Border', 'Display a border around the thumbnail image?', 'yesno', '1', 5) ");

$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'MidSize Options', 'Display MidSize Image Border', 'Display a border around the midsize image?', 'yesno', '1', 6) ");

$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'Section Options', 'Display Section Image Count', 'Display the image count in each section? <br />Disable this option if you have many images and your image gallery is loading slowly.', 'yesno', '1', 1) ");
$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'Section Options', 'Display Sections as Images', 'Display sections as images instead of text?', 'yesno', '1', 2) ");
$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'Section Options', 'Number of Section Images per Row', 'Enter the number of section images to be displayed per row:', 'text', '5', 3) ");
$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'Section Options', 'Display Section Image Border', 'Display a border around section images?', 'yesno', '1', 4) ");

$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'Image Border Options', 'Border Color', 'Color of the border:<br />Default Value: #606E9B', 'text', '#606E9B', 1) ");
$DB->query("INSERT INTO " . TABLE_PREFIX . "pluginsettings VALUES ('0', 17, 'Image Border Options', 'Border Padding', 'Padding in pixels between the image and border:<br />Default Value: 10', 'text', '10', 2) ");

$DB->query("INSERT INTO " . TABLE_PREFIX . "phrases VALUES ('0', 17, 'comment',                'Comment', '', '', '', '', 0, 0, 0)");
$DB->query("INSERT INTO " . TABLE_PREFIX . "phrases VALUES ('0', 17, 'image2',                'Image', '', '', '', '', 0, 0, 0)");
$DB->query("INSERT INTO " . TABLE_PREFIX . "phrases VALUES ('0', 17, 'images',                'Images', '', '', '', '', 0, 0, 0)");
$DB->query("INSERT INTO " . TABLE_PREFIX . "phrases VALUES ('0', 17, 'images2',                'Images:', '', '', '', '', 1, 0, 0)");

$DB->query("UPDATE " . TABLE_PREFIX . "phrases SET defaultphrase = 'Submit an image to this section.' WHERE varname = 'submit_an_image' AND pluginid = 17");

$DB->query("ALTER TABLE " . TABLE_PREFIX . "p7_chatterbox MODIFY COLUMN `datecreated` INTEGER(10) UNSIGNED NOT NULL DEFAULT '0'");
$DB->query("ALTER TABLE " . TABLE_PREFIX . "p17_images MODIFY COLUMN `viewcount` INTEGER(10) UNSIGNED NOT NULL DEFAULT '0'");
$DB->query("ALTER TABLE " . TABLE_PREFIX . "p17_images MODIFY COLUMN `datecreated` INTEGER(10) UNSIGNED NOT NULL DEFAULT '0'");
$DB->query("ALTER TABLE " . TABLE_PREFIX . "p17_sections MODIFY COLUMN `imageid` INTEGER(10) UNSIGNED DEFAULT NULL");

$DB->query("UPDATE " . TABLE_PREFIX . "plugins SET `authorlink` = '1', `settings` = '19' WHERE `pluginid` =1 LIMIT 1");


?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -