コード例 #1
0
function watermark_install()
{
    global $settingInfo;
    //检查有无GD支持
    $gdVersion = gd_version();
    if ($gdVersion == "0") {
        $ActionMessage = "你的服务器不支持GD,不能使用此插件!请联系你的服务器供应商!";
    } else {
        $arrPlugin['Name'] = "watermark";
        //Plugin name
        $arrPlugin['Desc'] = "水印";
        //Plugin title
        $arrPlugin['Type'] = "Func";
        //Plugin type
        $arrPlugin['Code'] = '';
        //Plugin htmlcode
        $arrPlugin['Path'] = "";
        //Plugin Path
        $arrPlugin['DefaultField'] = array("wm_position", "wm_image", "wm_text", "wm_font", "wm_color", "wm_transparence", "wm_width", "wm_height");
        //Default Filed
        $arrPlugin['DefaultValue'] = array("6", "plugins/watermark/watermark.png", $settingInfo['blogUrl'], "5", "#FF0000", "85", "200", "200");
        //Default value
        $ActionMessage = install_plugins($arrPlugin);
    }
    return $ActionMessage;
}
コード例 #2
0
ファイル: nfo.php プロジェクト: BGCX067/f2cont-svn-to-git
function nfo_install()
{
    global $settingInfo;
    //检查有无GD支持
    $gdVersion = gd_version();
    if ($gdVersion == "0") {
        $ActionMessage = "你的服务器不支持GD,不能使用此插件!请联系你的服务器供应商!";
    } else {
        $arrPlugin['Name'] = "nfo";
        //Plugin name
        $arrPlugin['Desc'] = "NFO to Image";
        //Plugin title
        $arrPlugin['Type'] = "Func";
        //Plugin type
        $arrPlugin['Code'] = '';
        //Plugin htmlcode
        $arrPlugin['Path'] = "";
        //Plugin Path
        $arrPlugin['DefaultField'] = array("bgcolor", "txtcolor", "imgtype");
        //Default Filed
        $arrPlugin['DefaultValue'] = array("#FFFFFF", "#000000", "png");
        //Default value
        $ActionMessage = install_plugins($arrPlugin);
    }
    return $ActionMessage;
}
コード例 #3
0
ファイル: GTMusic.php プロジェクト: BGCX067/f2cont-svn-to-git
function GTMusic_install()
{
    global $DMC, $DBPrefix;
    $arrPlugin['Name'] = "GTMusic";
    $arrPlugin['Desc'] = "GTMusic";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = '';
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = "";
    $arrPlugin['DefaultValue'] = "";
    //建表及插入默认数据
    $dbcharset = 'utf8';
    $curTime = time();
    //建立MusicSetting设定表
    if (!$DMC->query("SELECT id FROM " . $DBPrefix . "musicsetting", 'T')) {
        $sql = "CREATE TABLE `{$DBPrefix}musicsetting` (`id` INT( 1 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,`BlogRoot` VARCHAR( 30 ) NOT NULL ,`view_player` TINYINT NOT NULL ,`set_autoplay` TINYINT NOT NULL ,`set_shuffle` TINYINT NOT NULL ,`set_loop` TINYINT NOT NULL ,`set_volume` INT NOT NULL ,`use_marquee` TINYINT NOT NULL ,`marquee_direction` TINYINT NOT NULL ,`marquee_scrolldelay` INT NOT NULL ) ENGINE = MYISAM {$default_charset};";
        $DMC->query($sql);
        $DMC->query("INSERT INTO `{$DBPrefix}musicsetting` ( `id` , `BlogRoot` , `view_player` , `set_autoplay` , `set_shuffle` , `set_loop` , `set_volume` , `use_marquee` , `marquee_direction` , `marquee_scrolldelay` ) VALUES (1 , '天上的骆驼', '0', '0', '1', '1', '99', '1', '0', '50')");
        //建立MusicClass专辑表
        $sql = "CREATE TABLE `{$DBPrefix}musicclass` (`ClassId` INT( 2 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,`ClassName` VARCHAR( 20 ) NOT NULL ,`Commend` TINYINT( 1 ) NOT NULL ,`ClickNum` INT( 4 ) NOT NULL ) ENGINE = MYISAM {$default_charset};";
        $DMC->query($sql);
        $DMC->query("INSERT INTO `{$DBPrefix}musicclass` ( `ClassId` , `ClassName` , `Commend` , `ClickNum` ) VALUES (1 , '流行音乐', '1', '0')");
        //建立音乐表
        $sql = "CREATE TABLE `{$DBPrefix}music` (`MusicId` INT( 3 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,`MusicName` VARCHAR( 50 ) NOT NULL ,`MusicSinger` VARCHAR( 20 ) NOT NULL ,`MusicUrl` VARCHAR( 250 ) NOT NULL ,`Commend` TINYINT( 1 ) NOT NULL ,`IsPlayList` TINYINT( 1 ) NOT NULL DEFAULT '1',`orderNo` TINYINT NOT NULL DEFAULT '0' ,`AppDate` VARCHAR( 20 ) NOT NULL ,`ClickNum` INT( 5 ) NOT NULL ,`DownNum` INT( 5 ) NOT NULL ,`ClassId` INT( 3 ) NOT NULL ) ENGINE = MYISAM {$default_charset};";
        $DMC->query($sql);
        $DMC->query("INSERT INTO `{$DBPrefix}music` ( `MusicId` , `MusicName` , `MusicSinger` , `MusicUrl` , `Commend` , `IsPlayList` , `AppDate` , `ClickNum` , `DownNum` , `ClassId` ) VALUES (1 , '隐形的翅膀', '张韶涵', 'http://www.ynye.com/upocx/upfiles/2006428161927656.mp3', '5', '1', '{$curTime}', '0', '0', '1'), (2 , '美丽的神话', '成龙', 'http://www.027chem.cn/company/music/sh.mp3', '5', '1', '{$curTime}', '0', '0', '1')");
    }
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #4
0
ファイル: vote.php プロジェクト: BGCX067/f2cont-svn-to-git
function vote_install()
{
    global $DMC, $DBPrefix;
    $arrPlugin['Name'] = "vote";
    $arrPlugin['Desc'] = "投票";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = array("voteWidth", "voteHeight", "voteTM");
    $arrPlugin['DefaultValue'] = array("175", "250", "0");
    //建表及插入默认数据
    if ($DMC->getServerInfo() > '4.1') {
        $default_charset = " DEFAULT CHARACTER SET utf8";
    } else {
        $default_charset = "";
    }
    if (!$DMC->query("SELECT id FROM " . $DBPrefix . "vote", 'T')) {
        $sql = "CREATE TABLE `{$DBPrefix}vote` (`id` INT( 3 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,`voteco` VARCHAR( 200 ) NOT NULL ,`cs_1` VARCHAR( 50 ) NOT NULL ,`cs_2` VARCHAR( 50 ) NOT NULL ,`cs_3` VARCHAR( 50 ) NOT NULL ,`cs_4` VARCHAR( 50 ) NOT NULL ,`cs_5` VARCHAR( 50 ) NOT NULL ,`cs_1_num` INT( 5 ) NOT NULL DEFAULT '0',`cs_2_num` INT( 5 ) NOT NULL DEFAULT '0' ,`cs_3_num` INT( 5 ) NOT NULL DEFAULT '0' ,`cs_4_num` INT( 5 ) NOT NULL DEFAULT '0' ,`cs_5_num` INT( 5 ) NOT NULL DEFAULT '0' ,`oorc` VARCHAR( 5 ) NOT NULL ,`bg_color` VARCHAR( 10 ) NOT NULL,`word_color` VARCHAR( 10 ) NOT NULL,`word_size` VARCHAR( 2 ) NOT NULL,`vote_time` VARCHAR( 20 ) NOT NULL ,`votevi` INT( 5 ) NOT NULL DEFAULT '0' ,`sorm` VARCHAR( 5 ) NOT NULL ,INDEX ( `voteco` ) ) ENGINE = MYISAM {$default_charset};";
        $DMC->query($sql);
    }
    $curTime = time();
    $DMC->query("INSERT INTO {$DBPrefix}vote VALUES (1, '您认为F2Blog那些需要加强?', '功能', '皮肤', '插件', '速度', '服务', '10', '5', '8', '13', '2', 'True', 'EEEEEE', '333399', '11', '{$curTime}', '0', 'True')");
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #5
0
function lightbox2_install()
{
    $arrPlugin['Name'] = "lightbox2";
    $arrPlugin['Desc'] = "lightbox2";
    $arrPlugin['Type'] = "Func";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #6
0
function FlvPlayer_install()
{
    $arrPlugin['Name'] = "FlvPlayer";
    $arrPlugin['Desc'] = "Flv播放器";
    $arrPlugin['Type'] = "Func";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #7
0
ファイル: CoverJF.php プロジェクト: BGCX067/f2cont-svn-to-git
function CoverJF_install()
{
    $arrPlugin['Name'] = "CoverJF";
    $arrPlugin['Desc'] = "繁体版";
    $arrPlugin['Type'] = "Top";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #8
0
function imagebox_install()
{
    $arrPlugin['Name'] = "imagebox";
    $arrPlugin['Desc'] = "相册";
    $arrPlugin['Type'] = "Top";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "plugins/imagebox/imagebox.big.php";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #9
0
function onlinemusic_install()
{
    $arrPlugin['Name'] = "onlinemusic";
    $arrPlugin['Desc'] = "在线音乐";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #10
0
function blogHint_install()
{
    $arrPlugin['Name'] = "blogHint";
    $arrPlugin['Desc'] = "博客小贴士";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['indexOnly'] = "";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #11
0
function hotPosts_install()
{
    $arrPlugin['Name'] = "hotPosts";
    $arrPlugin['Desc'] = "热点日志";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['indexOnly'] = "";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #12
0
function NetExtract_install()
{
    $arrPlugin['Name'] = "NetExtract";
    $arrPlugin['Desc'] = "在日志下方增加一行发送到各网摘程序的链接";
    $arrPlugin['Type'] = "Main";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['indexOnly'] = "5";
    //$strModuleContentShow=array("0所有内容头部","1所有内容尾部","2首页内容头部","3首页内容尾部","4首页日志尾部","5读取日志尾部");
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #13
0
function AboutBlog2_install()
{
    $arrPlugin['Name'] = "AboutBlog2";
    $arrPlugin['Desc'] = "Show your blog logo and title without box.";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = "";
    $arrPlugin['DefaultValue'] = "";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #14
0
function BlogNews_install()
{
    $arrPlugin['Name'] = "BlogNews";
    $arrPlugin['Desc'] = "跑馬燈";
    $arrPlugin['Type'] = "Main";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['indexOnly'] = "0";
    //$strModuleContentShow=array("0所有内容头部","1所有内容尾部","2首页内容头部","3首页内容尾部","4首页日志尾部","5读取日志尾部");
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #15
0
ファイル: weather.php プロジェクト: BGCX067/f2cont-svn-to-git
function weather_install()
{
    $arrPlugin['Name'] = "weather";
    $arrPlugin['Desc'] = "天气预报";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = <<<HTML
\t\t<IFRAME ID='ifm2' WIDTH='175' HEIGHT='190' ALIGN='CENTER' MARGINWIDTH='0' MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO' SRC='http://weather.news.qq.com/inc/ss272.htm'></IFRAME>\t
HTML;
    $arrPlugin['Path'] = "";
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #16
0
function CallBoard_install()
{
    $arrPlugin['Name'] = "CallBoard";
    $arrPlugin['Desc'] = "滚动的公告板";
    $arrPlugin['Type'] = "Main";
    $arrPlugin['Code'] = "&lt;font color=&quot;#999999&quot; style=&quot;font-weight:bold;&quot;&gt;[&lt;font color=&quot;#acc414&quot;&gt;2006-12-15&lt;/font&gt;]&lt;/font&gt;欢迎选用F2Blog。<br />\r\n&lt;font color=&quot;#999999&quot; style=&quot;font-weight:bold;&quot;&gt;[&lt;font color=&quot;#acc414&quot;&gt;2006-12-15&lt;/font&gt;]&lt;/font&gt;&lt;a href=&quot;http://forum.f2blog.com&quot; target=&quot;_blank&quot;&gt;有任何问题,请到F2Blog论坛中寻求支持!&lt;/a&gt;<br />\r\n&lt;font color=&quot;#999999&quot; style=&quot;font-weight:bold;&quot;&gt;[&lt;font color=&quot;#acc414&quot;&gt;2006-12-15&lt;/font&gt;]&lt;/font&gt;&lt;a href=&quot;http://joesen.f2blog.com&quot;  target=&quot;_blank&quot;&gt;给自己做个广告,有兴趣给我做个友情链接吧。&lt;/a&gt;";
    $arrPlugin['Path'] = "";
    $arrPlugin['indexOnly'] = "2";
    //$strModuleContentShow=array("0所有内容头部","1所有内容尾部","2首页内容头部","3首页内容尾部","4首页日志尾部","5读取日志尾部");
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #17
0
function Delicious_install()
{
    global $Delicious_plugin_config;
    $arrPlugin['Name'] = "Delicious";
    $arrPlugin['Desc'] = "Delicious";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = array("user");
    $arrPlugin['DefaultValue'] = array("zach14c");
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #18
0
function GoogleAdSense_install()
{
    global $GoogleAdSense_plugin_config;
    $arrPlugin['Name'] = $GoogleAdSense_plugin_config["Name"];
    $arrPlugin['Desc'] = "Google Ad";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = array("dummy");
    $arrPlugin['DefaultValue'] = array("1");
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #19
0
ファイル: ccVideo.php プロジェクト: BGCX067/f2cont-svn-to-git
function ccVideo_install()
{
    $arrPlugin['Name'] = "ccVideo";
    $arrPlugin['Desc'] = "CC视频";
    $arrPlugin['Type'] = "Top";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "plugins/ccVideo/ccVideo.big.php";
    $arrPlugin['DefaultField'] = array("ccuser", "ccorder", "ccstatus");
    //Default Filed
    $arrPlugin['DefaultValue'] = array("用户ID", "1", "0");
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #20
0
function SiteFocus_install()
{
    $arrPlugin['Name'] = "SiteFocus";
    $arrPlugin['Desc'] = "博客焦点";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = array("imgtext1", "imgurl1", "imglink1", "imgtext2", "imgurl2", "imglink2", "imgtext3", "imgurl3", "imglink3");
    //Default Filed
    $arrPlugin['DefaultValue'] = array("图片1", "plugins/SiteFocus/1.jpg", "http://www.f2blog.com", "图片2", "plugins/SiteFocus/2.jpg", "http://www.f2blog.com", "图片3", "plugins/SiteFocus/3.jpg", "http://www.f2blog.com");
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #21
0
ファイル: aboutMe.php プロジェクト: BGCX067/f2cont-svn-to-git
function aboutMe_install()
{
    $arrPlugin['Name'] = "aboutMe";
    $arrPlugin['Desc'] = "关于我";
    $arrPlugin['Type'] = "Top";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "plugins/aboutMe/aboutMe.inc.php";
    $arrPlugin['DefaultField'] = array("站长昵称", "头像地址", "年 龄", "生 日", "性 别", "血 型", "星 座", "地 址", "个人说明", "兴趣爱好");
    //Default Filed
    $arrPlugin['DefaultValue'] = array("未知", "plugins/aboutMe/Myface.jpg", "未知", "未知", "未知", "未知", "未知", "未知", "这家伙很懒什么也没留下", "这家伙很懒什么也没留下");
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #22
0
function TimeCounter_install()
{
    $arrPlugin['Name'] = "TimeCounter";
    $arrPlugin['Desc'] = "倒计时";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = array("CounterTitle1", "TargetDate1", "TargetTime1", "CounterStyle1", "CounterTitle2", "TargetDate2", "TargetTime2", "CounterStyle2", "CounterTitle3", "TargetDate3", "TargetTime3", "CounterStyle3");
    //Default Filed
    $arrPlugin['DefaultValue'] = array("距农历春节还有", "2007-02-18", "00:00:00", "border:1px solid black;margin:5px;padding:2px;width:123px", "", "", "", "", "", "", "", "");
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #23
0
function GoogleSearch_install()
{
    $arrPlugin['Name'] = "GoogleSearch";
    $arrPlugin['Desc'] = "Google搜索";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "&lt;table align=&quot;center&quot;&gt;&lt;form method=&quot;get&quot; action=&quot;http://www.google.cn/custom&quot; target=&quot;google_window&quot;&gt;&lt;tr&gt;&lt;td nowrap=&quot;nowrap&quot; valign=&quot;top&quot; align=&quot;left&quot; height=&quot;32&quot;&gt;&lt;a href=&quot;http://www.google.com/&quot;&gt;&lt;img src=&quot;http://www.google.com/logos/Logo_25wht.gif&quot; border=&quot;0&quot; alt=&quot;Google&quot; align=&quot;middle&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;&lt;label for=&quot;sbi&quot; style=&quot;display: none&quot;&gt;输入您的搜索字词&lt;/label&gt;&lt;input type=&quot;text&quot; name=&quot;q&quot; size=&quot;25&quot; maxlength=&quot;255&quot; value=&quot;&quot; id=&quot;sbi&quot; class=&quot;userpass&quot;&gt;&lt;/input&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;label for=&quot;sbb&quot; style=&quot;display: none&quot;&gt;提交搜索表单&lt;/label&gt;&lt;input type=&quot;submit&quot; name=&quot;sa&quot; value=&quot;搜索&quot; id=&quot;sbb&quot; class=&quot;userbutton&quot;&gt;&lt;/input&gt;&lt;input type=&quot;hidden&quot; name=&quot;client&quot; value=&quot;pub-1172684845739484&quot;&gt;&lt;/input&gt;&lt;input type=&quot;hidden&quot; name=&quot;forid&quot; value=&quot;1&quot;&gt;&lt;/input&gt;&lt;input type=&quot;hidden&quot; name=&quot;ie&quot; value=&quot;UTF-8&quot;&gt;&lt;/input&gt;&lt;input type=&quot;hidden&quot; name=&quot;oe&quot; value=&quot;UTF-8&quot;&gt;&lt;/input&gt;&lt;input type=&quot;hidden&quot; name=&quot;cof&quot; value=&quot;L:http://joesen.f2blog.com/images/logo.gif;S:http://joesen.f2blog.com;FORID:1&quot;&gt;&lt;/input&gt;&lt;input type=&quot;hidden&quot; name=&quot;hl&quot; value=&quot;zh-CN&quot;&gt;&lt;/input&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/form&gt;&lt;/table&gt;";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = "";
    //Default Filed
    $arrPlugin['DefaultValue'] = "";
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #24
0
ファイル: birth.php プロジェクト: BGCX067/f2cont-svn-to-git
function birth_install()
{
    $arrPlugin['Name'] = "birth";
    $arrPlugin['Desc'] = "计时小孩到今天为止岁数";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = array("birthTitle1", "birthDate1", "textColor1");
    //Default Filed
    $arrPlugin['DefaultValue'] = array("测试", "2001-10-20", "#CC3333");
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #25
0
function f2bababian_install()
{
    $arrPlugin['Name'] = "f2bababian";
    $arrPlugin['Desc'] = "巴巴变相册";
    $arrPlugin['Type'] = "Top";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "plugins/f2bababian/f2bababian.inc.php";
    $arrPlugin['DefaultField'] = array("bbb_email", "bbb_api_key", "bbb_user_key", "bbb_user_id", "bbb_per_row", "bbb_per_page", "bbb_size", "bbb_showimage");
    //Default Filed
    $arrPlugin['DefaultValue'] = array("", "", "", "", "4", "12", "100", "");
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #26
0
function BaiDuKnow_install()
{
    $arrPlugin['Name'] = "BaiDuKnow";
    $arrPlugin['Desc'] = "百度知道";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "&lt;script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot; src=&quot;http://zhidao.baidu.com/q?ct=18&amp;cid=84&amp;tn=fcuqlclass&amp;pn=50&amp;lm=0&amp;rn=8&quot;&gt;&lt;/script&gt;";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = "";
    //Default Filed
    $arrPlugin['DefaultValue'] = "";
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #27
0
function MusicPlayer_install()
{
    $arrPlugin['Name'] = "MusicPlayer";
    $arrPlugin['Desc'] = "Music Player";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = array("title1", "creator1", "location1", "title2", "creator2", "location2", "title3", "creator3", "location3");
    //Default Filed
    $arrPlugin['DefaultValue'] = array("Far Away From Home", "01", "mp3/01.mp3", "", "", "", "", "", "");
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #28
0
function Subseribe_install()
{
    $arrPlugin['Name'] = "Subseribe";
    $arrPlugin['Desc'] = "訂閱本站";
    $arrPlugin['Type'] = "Side";
    $arrPlugin['Code'] = "&lt;a title=&quot;通過Google Reader訂閱&quot; href=&quot;http://fusion.google.com/add?feedurl=http://feeds.feedburner.com/joesen&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;plugins/Subseribe/google.gif&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;height:5px&quot;&gt; &lt;/span&gt;<br />&lt;a title=&quot;通過抓蝦訂閱&quot; href=&quot;http://www.zhuaxia.com/add_channel.php?url=http://feeds.feedburner.com/joesen&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;plugins/Subseribe/zhuaxia.gif&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;height:5px&quot;&gt; &lt;/span&gt;<br />&lt;a title=&quot;通過bloglines訂閱&quot; href=&quot;http://www.bloglines.com/sub/http://feeds.feedburner.com/joesen&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;plugins/Subseribe/bloglines.gif&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;height:5px&quot;&gt; &lt;/span&gt;<br />&lt;a title=&quot;通過飛鴿訂閱&quot; href=&quot;http://www.pageflakes.com/subscribe.aspx?url=http://feeds.feedburner.com/joesen&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;plugins/Subseribe/pageflakes.gif&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;height:5px&quot;&gt; &lt;/span&gt;<br />&lt;a title=&quot;通過GouGou訂閱&quot; href=&quot;http://www.gougou.com/find_rss.jsp?url=http://feeds.feedburner.com/joesen&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;plugins/Subseribe/gougou.gif&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;height:5px&quot;&gt; &lt;/span&gt;<br />&lt;a title=&quot;通過My Yahoo!訂閱&quot; href=&quot;http://e.my.yahoo.com/config/cstore?.opt=content&amp;#038;.url=http://feeds.feedburner.com/joesen&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;plugins/Subseribe/yahoo.gif&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;height:5px&quot;&gt; &lt;/span&gt;<br />如果您希望使用郵件訂閱,請點擊這裡:&lt;a href=&quot;http://www.emailrss.cn/?rss=http%3A//feeds.feedburner.com/joesen&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;使用Email訂閱&quot; src=&quot;plugins/Subseribe/sub_emailrss.gif&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = "";
    //Default Filed
    $arrPlugin['DefaultValue'] = "";
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #29
0
ファイル: smilies.php プロジェクト: BGCX067/f2cont-svn-to-git
function smilies_install()
{
    $arrPlugin['Name'] = "smilies";
    $arrPlugin['Desc'] = "表情符号";
    $arrPlugin['Type'] = "Func";
    $arrPlugin['Code'] = "";
    $arrPlugin['Path'] = "";
    $arrPlugin['DefaultField'] = array("smile", "lol", "wink", "eek", "razz", "cool", "angry", "redface", "muteness", "sad", "cry", "stun", "Belial", "angel", "heart", "breakheart", "MSN", "cat", "dog", "month", "star", "film", "music", "email", "flower", "flower", "clock", "kiss", "gift", "birthday", "photo", "idea", "tea", "phone", "Rhug", "Lhug", "stopper", "teeth", "bookworm", "confused", "handclap", "askance", "loo", "rolleyes", "sleepy", "GoodLuck", "Party", "illness");
    //Default Filed
    $arrPlugin['DefaultValue'] = array("Face_01.gif", "Face_02.gif", "Face_03.gif", "Face_04.gif", "Face_05.gif", "Face_06.gif", "Face_07.gif", "Face_08.gif", "Face_09.gif", "Face_10.gif", "Face_11.gif", "Face_12.gif", "Face_13.gif", "Face_14.gif", "Face_15.gif", "Face_16.gif", "Face_17.gif", "Face_18.gif", "Face_19.gif", "Face_20.gif", "Face_21.gif", "Face_22.gif", "Face_23.gif", "Face_24.gif", "Face_25.gif", "Face_26.gif", "Face_27.gif", "Face_28.gif", "Face_29.gif", "Face_30.gif", "Face_31.gif", "Face_32.gif", "Face_33.gif", "Face_34.gif", "Face_35.gif", "Face_36.gif", "Face_48.gif", "Face_49.gif", "Face_50.gif", "Face_51.gif", "Face_69.gif", "Face_72.gif", "Face_73.gif", "Face_76.gif", "Face_78.gif", "Face_68.gif", "Face_75.gif", "Face_53.gif");
    //Default value
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}
コード例 #30
0
ファイル: eMule.php プロジェクト: BGCX067/f2cont-svn-to-git
function eMule_install()
{
    $arrPlugin['Name'] = "eMule";
    //Plugin name
    $arrPlugin['Desc'] = "将eMule[电驴]链接的发布到博客文章中来";
    //Plugin title
    $arrPlugin['Type'] = "Func";
    //Plugin type
    $arrPlugin['Code'] = "";
    //Plugin htmlcode
    $arrPlugin['Path'] = "";
    //Plugin Path
    $ActionMessage = install_plugins($arrPlugin);
    return $ActionMessage;
}