Go to the documentation of this file.
8 require_once(
'../../../inc/header.inc.php');
9 require_once( CH_DIRECTORY_PATH_INC .
'admin_design.inc.php' );
17 if (isset($_POST[
'crsss']) && is_array($_POST[
'crsss'])) {
18 foreach($_POST[
'crsss']
as $iCrss) {
20 case isset($_POST[
'action_delete']):
21 $iOldID = (int)$iCrss;
22 $sRSSSQL =
"DELETE FROM `ch_crss_main` WHERE `ID`='{$iOldID}'";
25 case isset($_POST[
'action_approve']):
26 $iOldID = (int)$iCrss;
27 $sRSSSQL =
"UPDATE `ch_crss_main` SET `status`='active' WHERE `ID`='{$iOldID}'";
30 case isset($_POST[
'action_disapprove']):
31 $iOldID = (int)$iCrss;
32 $sRSSSQL =
"UPDATE `ch_crss_main` SET `status`='passive' WHERE `ID`='{$iOldID}'";
53 $aManage = array(
'medID',
'medProfId',
'medTitle',
'medUri',
'medDate',
'medViews',
'medExt',
'Approved');
59 while( $aRSSInfo = $vMemberRSS->fetch() ) {
60 $iRssID = (int)$aRSSInfo[
'ID'];
64 $sRssUrlJS = addslashes(htmlspecialchars($sRssUrl));
65 $sStatusColor = ($aRSSInfo[
'Status']==
'active') ?
'green' :
'red';
68 <div
class=
"ch-def-margin-sec-top-auto" style=
"position:relative; padding-left:30px;">
69 <div
class=
"ch_sys_unit_checkbox ch-def-round-corners">
70 <input
id=
"ch{$iRssID}" type=
"checkbox" value=
"{$iRssID}" name=
"crsss[]" />
72 <div
class=
"ch-def-font-h3" >
76 <span style=
"color:$sStatusColor;">$sRssStatus</span> <span
class=
"sys-bullet"></span> {$sRssDesc}
82 $sRequest =
ch_html_attribute($_SERVER[
'PHP_SELF']) .
'?page={page}&per_page={per_page}';
90 'page_url' => $sRequest,
96 $sPagination = $oPaginate -> getPaginate();
101 $sAdmPanel = $oSearchResult->showAdminActionsPanel(
'crss_box', array(
'action_approve' =>
'_Approve',
'action_disapprove' =>
'_Disapprove',
'action_delete' =>
'_Delete'),
'crsss');
105 <div
id=
"crss_box" class=
"ch-def-bc-padding">
121 'css_name' => array(
'common.css',
'forms_adv.css'),
MsgBox($sText, $iTimer=0)
Core AllowHostnameUnderscore underscores are not permitted in host most browsers do the right thing when faced with an underscore in the host name
ch_import($sClassName, $aModule=array())
ch_html_attribute($mixedInput)
DesignBoxAdmin($sTitle, $sContent, $mixedTopItems='', $sBottomItems='', $iIndex=1)
if(!defined("USER_STATUS_TYPE")) define("USER_STATUS_TYPE" type
PageCodeAdmin($oTemplate=null)
_t($key, $arg0="", $arg1="", $arg2="")
URI Base such as when URI MakeAbsolute is on You may use a non absolute URI for this value
member_auth($member=0, $error_handle=true, $bAjx=false)
and that you are informed that you can do these things To protect your we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it For if you distribute copies of the whether gratis or for a you must give the recipients all the rights that we gave you You must make sure that receive or can get the source code If you link other code with the you must provide complete object files to the so that they can relink them with the library after making changes to the library and recompiling it And you must show them these terms so they know their rights We protect your rights with a two step method
process_line_output($text, $maxwordlen=100)
db_res($query, $bindings=[])
db_value($query, $bindings=[], $error_checking=true, $index=0)
iii in the case of the organization that transmits the broadcast Work means the literary and or artistic work offered under the terms of this License including without limitation any production in the scientific and artistic whatever may be the mode or form of its expression including digital form