コード例 #1
0
ファイル: finish.php プロジェクト: yukisky/clipbucket
<?php

if (file_exists(BASEDIR . '/files/temp/install.me')) {
    unlink(BASEDIR . '/files/temp/install.me');
}
?>
<h2>ClipBucket has been installed successfully</h2>
<p>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=152608291474175&amp;xfbml=1"></script><fb:like href="http://www.facebook.com/ClipBucket" send="true" width="450" show_faces="true" font=""></fb:like>

<div class="errorDiv br5px" id="dbresult" style="">
<?php 
echo msg_arr(array('err' => 'Please delete cb_install directory'));
?>
</div>
<div align="center" style="margin-top:10px"><form name="installation" method="post" id="installation">

    <input type="hidden" name="mode" value="finish" />
    <?php 
echo button("Continue to Admin Area", ' onclick="window.location=\'' . BASEURL . '/admin_area\'" ');
?>
     <?php 
echo button("Continue to " . config('site_title'), ' onclick="window.location=\'' . BASEURL . '\'" ');
?>
  
</form></div>

<div style="font-size:13px; margin:5px 0px" align="center">now you have succesfully installed clipbucket, you may be insterested in following plugins to <strong>enhance your website</strong></div>


<div><div class="product br5px">
コード例 #2
0
ファイル: precheck.php プロジェクト: Coding110/cbvideo
     <dt class="grey-text">PHPShield</dt>
       <?php 
$phpshield = check_module('phpshield');
?>
        <dd  style="background-color:#fff;"><span style="margin-left:60px;" class="grey-text"><?php 
echo msg_arr($phpshield);
?>
</span></dd>
    
    <dt class="grey-text">ImageMagick</dt>
       <?php 
$imagick = check_module('imagick');
?>
        <dd  style="background-color:#fff;"><span style="margin-left:60px;" class="grey-text"><?php 
echo msg_arr($imagick);
?>
</span></dd>
    
</dl>




<form name="installation" method="post" id="installation">
    <input type="hidden" name="mode" value="permission" />
    <div style="padding:10px 0px" align="right"><?php 
echo button('Continue To Next Step', ' onclick="$(\'#installation\').submit()" ');
?>
</div>
</form>
コード例 #3
0
ファイル: upgrade.php プロジェクト: Coding110/cbvideo
    ?>
 to <?php 
    echo VERSION;
    ?>
, please read <strong>
    <a href="http://docs.clip-bucket.com/clipbucket-docs/clipbucket-installation" style="color:#fff;text-decoration:underline;">this documentation</a></strong> for further info and help, please click continue upgrade
</p>



</div><!--cb_container-->
</div><!--nav_des-->


<div id="sub_container" >
<form name="installation" method="post" id="installation">
	<input type="hidden" name="mode" value="permission" />
    <div style="padding:10px 0px" align="right"><?php 
    echo button('Continue to upgrade!', ' onclick="$(\'#installation\').submit()" ');
    ?>
</div>
</form>
<?php 
} else {
    ?>
<div class="errorDiv br5px" id="dbresult" style="">
<?php 
    echo msg_arr(array('err' => 'Please first login as Website adminstrator by going to admin_area and then try upgrading your website'));
    ?>
</div><?php 
}
コード例 #4
0
ファイル: sitesettings.php プロジェクト: yukisky/clipbucket
<?php

//Lets just save admin settings so we can move forward
$uid = 1;
$pass = pass_code(post('password'));
$db->update(tbl("users"), array('username', 'password', 'email', 'doj', 'num_visits', 'ip', 'signup_ip', 'background_color', 'total_groups', 'banned_users'), array(post('username'), $pass, post('email'), now(), 1, $_SERVER['REMOTE_ADDR'], $_SERVER['REMOTE_ADDR'], '', 0, ''), "userid='{$uid}'");
//Login user
$userquery->login_user(post('username'), post('password'));
echo msg_arr(array('msg' => 'Admin details have been updated'));
?>
<h2>Website basic configurations</h2>
here you can set basic configuration of your website, you can change them later by going to Admin area &gt; Website Configurations

<p>


<form name="installation" method="post" id="installation">
    
    <div class="field">
    <label for="title">Website title</label>
    <input name="title" type="text" id="title" class="br5px" value="Clipbucket v3">
    </div>
    
    <div class="field">
    <label for="slogan">Website Slogan</label>
    <input name="slogan" type="text" id="slogan" class="br5px" value="A way to broadcast yourself">
    </div>
    
    <div class="field">
    <label for="baseurl">Website URL</label>
    <input name="baseurl" type="text" id="baseurl" class="br5px" value="<?php 
コード例 #5
0
ファイル: precheck.php プロジェクト: yukisky/clipbucket
echo msg_arr($mp4boxver);
?>
</dd>
    <dt>cURL</dt>
    	<?php 
$curlver = check_module('curl');
?>
    	<dd><?php 
echo msg_arr($curlver);
?>
</dd>
    <dt>PHPShield</dt>
    	<?php 
$phpshield = check_module('phpshield');
?>
    	<dd><?php 
echo msg_arr($phpshield);
?>
</dd>
</dl>
<p></p>


<form name="installation" method="post" id="installation">
	<input type="hidden" name="mode" value="permission" />
    <div style="padding:10px 0px" align="right"><?php 
echo button('Continue To Next Step', ' onclick="$(\'#installation\').submit()" ');
?>
</div>
</form>
コード例 #6
0
ファイル: finish.php プロジェクト: Coding110/cbvideo
</div><!--cb_container-->
</div><!--nav_des-->



<div id="sub_container" class="br5px">


<!--<h2>ClipBucket has been installed successfully</h2>
<p>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=152608291474175&amp;xfbml=1"></script><fb:like href="http://www.facebook.com/ClipBucket" send="true" width="450" show_faces="true" font=""></fb:like>
-->
<div class="errorDiv br5px" id="dbresult" style="">
<?php 
echo msg_arr(array('err' => '<span style="color:#A32727;">Please delete cb_install directory</span>'));
?>
</div>


<div class="fb_finish"><div class="fb-like-box" data-href="https://www.facebook.com/ClipBucket" data-width="348" data-height="500" 
    data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="true" data-show-border="true"></div></div>

<div class="finish">
    <div class="product test">
	<div class="title">
    <a href="http://clip-bucket.com/product/ClipBucket-Mass-Embedder-Pro/83">ClipBucket Mass Embedder Pro</a></div>
    <div class="desc">Let you popluate your website with thousands of Youtube videos entirely based on your 
    queries with autocategorization and auto wordpress poster. it also embed videos from dailymotion, metacafe and revver.com</div>
    <div class="line"></div>
</div>
コード例 #7
0
ファイル: adminsettings.php プロジェクト: yukisky/clipbucket
$baseurl = dirname(GetServerURL());
if (substr($baseurl, strlen($baseurl) - 1, 1) == '/') {
    $baseurl = substr($baseurl, 0, strlen($baseurl) - 1);
}
$db->update(tbl("config"), array("value"), array($baseurl), " name='baseurl'");
$db->update(tbl("config"), array("value"), array(BASEDIR), " name='basedir'");
$db->update(tbl("config"), array("value"), array($released['release_date']), " name='date_released'");
$db->update(tbl("config"), array("value"), array(now()), " name='date_updated'");
$db->update(tbl("config"), array("value"), array(now()), " name='date_installed'");
$db->update(tbl("config"), array("value"), array($released['version']), " name='version'");
$db->update(tbl("config"), array("value"), array($released['state']), " name='type'");
$arr['msg'] = "Installation details have been updated";
echo msg_arr($arr);
$lang_obj->updateFromPack('en');
$arr['msg'] = "Language phrases have been imported";
echo "<br>" . msg_arr($arr);
?>


<form name="installation" method="post" id="installation">
    
    <div class="field">
    <label for="username">Admin username</label>
    <input name="username" type="text" id="username" class="br5px" value="admin">
    </div>
    <div class="field">
    <label for="password">Admin Password</label>
    <input name="password" type="password" id="password" class="br5px" value="admin">
    	<a href="javascript:void(0)" onclick="

        var pass = password(8,true);
コード例 #8
0
ファイル: permission.php プロジェクト: reactvideos/Website


<div id="sub_container" class="br5px">
<dl>
<?php 
$permissions = checkPermissions();
foreach ($permissions as $permission) {
    ?>
        <dt style="width:300px;" class="grey-text"><?php 
    echo $permission['path'];
    ?>
</dt>
        
        <dd  class="grey-text"><?php 
    echo msg_arr($permission);
    ?>
</dd>
        <?php 
}
?>
    
</dl>




<form name="installation" method="post" id="installation">
    <div style="padding:10px 0px" align="right">
    <?php 
echo button_green('Recheck', ' onclick="$(\'#mode\').val(\'permission\');