• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP exec_action函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中exec_action函数的典型用法代码示例。如果您正苦于以下问题:PHP exec_action函数的具体用法?PHP exec_action怎么用?PHP exec_action使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了exec_action函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: check_for_csrf

/**
 * check for csrfs
 * @param  string $action action to pass to check_nonce
 * @param  string $file   file to pass to check_nonce
 * @param  bool   $die    if false return instead of die
 * @return bool   returns true if csrf check fails
 */
function check_for_csrf($action, $file = "", $die = true)
{
    // check for csrf
    if (!getDef('GSNOCSRF', true)) {
        $nonce = $_REQUEST['nonce'];
        if (!check_nonce($nonce, $action, $file)) {
            exec_action('csrf');
            // @hook csrf a csrf was detected
            if (requestIsAjax()) {
                $error = i18n_r("CSRF", "CRSF Detected!");
                echo "<div>";
                // jquery bug will not parse 1 html element so we wrap it
                include 'template/error_checking.php';
                echo "</div>";
                die;
            }
            if ($die) {
                die(i18n_r("CSRF", "CRSF Detected!"));
            }
            return true;
        }
    }
}
开发者ID:kix23,项目名称:GetSimpleCMS,代码行数:30,代码来源:security_functions.php


示例2: call_user_func_array

		<div class="main">

		<?php 
if (function_exists($plugin_info[$plugin_id]['load_data'])) {
    call_user_func_array($plugin_info[$plugin_id]['load_data'], array());
}
?>

		</div>
	</div>
	
	<div id="sidebar" >
    <?php 
$res = @(include 'template/sidebar-' . $plugin_info[$plugin_id]['page_type'] . '.php');
if (!$res) {
    ?>
      <ul class="snav">
        <?php 
    exec_action($plugin_info[$plugin_id]['page_type'] . "-sidebar");
    ?>
      </ul>
    <?php 
}
// call sidebar extra hook for plugin page_type
exec_action($plugin_info[$plugin_id]['page_type'] . "-sidebar-extra");
?>
  </div>

</div>
<?php 
get_template('footer');
开发者ID:promil23,项目名称:GetSimpleCMS,代码行数:31,代码来源:load.php


示例3: i18n

i18n('USERNAME');
?>
:</b><br /><input type="text" class="text" id="userid" name="userid" /></p>
				<p><b><?php 
i18n('PASSWORD');
?>
:</b><br /><input type="password" class="text" id="pwd" name="pwd" /></p>
				<p><input type="submit" name="submitted" class="submit" value="<?php 
i18n('LOGIN');
?>
" /></p>
			</form>
			<p class="cta" ><b>&laquo;</b> <a href="<?php 
echo $SITEURL;
?>
"><?php 
i18n('BACK_TO_WEBSITE');
?>
</a> &nbsp; | &nbsp; <a href="resetpassword.php"><?php 
i18n('FORGOT_PWD');
?>
</a> &raquo;</p>
			<div class="reqs" ><?php 
exec_action('login-reqs');
?>
</div>
		</div>
	</div>
</div>
<?php 
get_template('footer');
开发者ID:Foltys,项目名称:Masopust,代码行数:31,代码来源:index.php


示例4: exec_action

</label></p>
			</div>
			<?php 
if ($editing) {
    exec_action('profile-extras-edit');
}
// @hook profile-extras-edit extra profile settings when editing existing users
if ($adding) {
    exec_action('profile-extras-add');
}
// @hook profile-extras-add extra profile settings when  adding new user
if (!$editing && !$adding) {
    exec_action('settings-user-extras');
}
// @hook settings-user-extras LEGACY extra user profile settings html, not enabled for edit and adds in 3.4
exec_action('profile-extras');
// @hook profile-extras extra profile settings
?>
			
			<p class="section" style="margin:0px 0 5px 10px;font-size:12px;color:#999;" ><?php 
$adding === true ? i18n('PROVIDE_PASSWORD') : i18n('ONLY_NEW_PASSWORD');
?>
:</p>
			<div class="leftsec">
				<p><label for="sitepwd" ><?php 
$adding === true ? i18n('PASSWORD') : i18n('NEW_PASSWORD');
?>
:</label><input autocomplete="off" class="text" id="sitepwd" name="sitepwd" type="password" value="" /></p>
			</div>
			<div class="rightsec">
				<p><label for="sitepwd_confirm" ><?php 
开发者ID:CodeCharming,项目名称:GetSimpleCMS,代码行数:31,代码来源:profile.php


示例5: find_accesskey

echo find_accesskey(i18n_r('TAB_BACKUPS'));
?>
" ><?php 
i18n('TAB_BACKUPS');
?>
</a></li>
	<li id="nav_plugins" ><a class="plugins" href="plugins.php" accesskey="<?php 
echo find_accesskey(i18n_r('PLUGINS_NAV'));
?>
" ><?php 
i18n('PLUGINS_NAV');
?>
</a></li>
	
	<?php 
exec_action('nav-tab');
?>
	
	<li id="nav_loaderimg" ><img class="toggle" id="loader" src="template/images/ajax.gif" alt="" /></li>
	<li class="rightnav" ><a class="settings first" href="settings.php" accesskey="<?php 
echo find_accesskey(i18n_r('TAB_SETTINGS'));
?>
" ><?php 
i18n('TAB_SETTINGS');
?>
</a></li>
	<li class="rightnav" ><a class="support last" href="support.php" accesskey="<?php 
echo find_accesskey(i18n_r('TAB_SUPPORT'));
?>
" ><?php 
i18n('TAB_SUPPORT');
开发者ID:elephantcode,项目名称:elephantcode,代码行数:31,代码来源:include-nav.php


示例6: exec_action

             if ($page['menuStatus'] == 'Y') {
                 $pagePriority = '1.0';
             } else {
                 $pagePriority = '0.5';
             }
             //add to sitemap
             $url_item = $xml->addChild('url');
             $url_item->addChild('loc', $pageLoc);
             $url_item->addChild('lastmod', $pageLastMod);
             $url_item->addChild('changefreq', $pageChangeFreq);
             $url_item->addChild('priority', $pagePriority);
             exec_action('sitemap-additem');
         }
         //create xml file
         $file = $relative . 'sitemap.xml';
         exec_action('save-sitemap');
         XMLsave($xml, $file);
     }
 }
 // Variables for website
 $spath = $relative . 'data/other/';
 $sfile = "website.xml";
 $data = getXML($spath . $sfile);
 $SITEURL = $data->SITEURL;
 if (!defined('GSDONOTPING')) {
     if (file_exists($relative . 'sitemap.xml')) {
         if (200 === ($status = pingGoogleSitemaps($SITEURL . 'sitemap.xml'))) {
             $response = $i18n['SITEMAP_CREATED'];
             header('location: theme.php?success=' . $response);
             exit;
         } else {
开发者ID:RobAnt,项目名称:GetSimple-Plugins,代码行数:31,代码来源:sitemap.php


示例7: isset

                $fileOwnerName = isset($fileOwner['name']) ? $fileOwner['name'] : '';
            } else {
                $fileOwnerName = getenv('USERNAME');
            }
            echo '<td style="width:70px;text-align:right;"><span>' . $fileOwnerName . '/' . $filePerms . '</span></td>';
        }
        echo '<td class="file_date right"><span class="' . (dateIsToday($upload['date']) ? 'datetoday' : '') . '">' . output_date($upload['date']) . '</span></td>';
        // delete
        echo '<td class="delete">';
        if ($allowdelete) {
            echo '<a class="delconfirm" title="' . i18n_r('DELETE_FILE') . ': ' . htmlspecialchars($upload['name']) . '" href="deletefile.php?file=' . rawurlencode($upload['name']) . '&amp;path=' . $urlPath . '&amp;nonce=' . get_nonce("delete", "deletefile.php") . '">&times;</a>';
        }
        echo '</td></tr>';
    }
}
exec_action('file-extras');
// @hook file-extras after file list table rows
echo '</tbody></table>';
if ($counter > 0) {
    $sizedesc = '(' . fSize($totalsize) . ')';
} else {
    $sizedesc = '';
}
$totalcount = (int) $counter + (int) $foldercount;
echo '<p><em><b><span id="pg_counter">' . $totalcount . '</span></b> ' . i18n_r('TOTAL_FILES') . ' ' . $sizedesc . '</em></p>';
?>
		</div>
		</div>
	</div>
	<?php 
if ($allowupload) {
开发者ID:HelgeSverre,项目名称:GetSimpleCMS,代码行数:31,代码来源:upload.php


示例8: clear

 public function clear()
 {
     if (is_file($this->_xmlfile)) {
         $res = unlink($this->_xmlfile);
         exec_action('logfile_delete');
         return $res;
     }
 }
开发者ID:Emmett-Brown,项目名称:linea,代码行数:8,代码来源:logging.class.php


示例9: check_menu

	<?php 
if (!getDef('GSNOSITEMAP')) {
    ?>
 <li id="sb_sitemap" class="last_sb"><a href="sitemap.php" <?php 
    check_menu('sitemap');
    ?>
 accesskey="<?php 
    echo find_accesskey(i18n_r('SIDE_VIEW_SITEMAP'));
    ?>
" ><?php 
    i18n('SIDE_VIEW_SITEMAP');
    ?>
</a></li> <?php 
}
?>
	<?php 
exec_action("theme-sidebar");
?>
</ul>

<?php 
if (get_filename_id() === 'components' || get_filename_id() === 'theme-edit') {
    ?>
<p id="js_submit_line" ></p>
<?php 
}
?>



开发者ID:promil23,项目名称:GetSimpleCMS,代码行数:27,代码来源:sidebar-theme.php


示例10: generate_sitemap

/**
 * Creates Sitemap
 *
 * Creates sitemap.xml in the site's root.
 * Pending: read the content path (xml's)
 */
function generate_sitemap()
{
    // Variable settings
    global $SITEURL;
    $path = GSDATAPAGESPATH;
    $count = "0";
    $filenames = getFiles($path);
    if (count($filenames) != 0) {
        foreach ($filenames as $file) {
            if (isFile($file, $path, 'xml')) {
                $data = getXML($path . $file);
                if ($data->url != '404') {
                    $status = $data->menuStatus;
                    $pagesArray[$count]['url'] = $data->url;
                    $pagesArray[$count]['parent'] = $data->parent;
                    $pagesArray[$count]['date'] = $data->pubDate;
                    $pagesArray[$count]['private'] = $data->private;
                    $pagesArray[$count]['menuStatus'] = $data->menuStatus;
                    $count++;
                }
            }
        }
    }
    $pagesSorted = subval_sort($pagesArray, 'menuStatus');
    if (count($pagesSorted) != 0) {
        $xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?><urlset></urlset>');
        $xml->addAttribute('xsi:schemaLocation', 'http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd', 'http://www.w3.org/2001/XMLSchema-instance');
        $xml->addAttribute('xmlns', 'http://www.sitemaps.org/schemas/sitemap/0.9');
        foreach ($pagesSorted as $page) {
            if ($page['private'] != 'Y') {
                // set <loc>
                $pageLoc = find_url($page['url'], $page['parent']);
                // set <lastmod>
                $tmpDate = date("Y-m-d H:i:s", strtotime($page['date']));
                $pageLastMod = makeIso8601TimeStamp($tmpDate);
                // set <changefreq>
                $pageChangeFreq = 'weekly';
                // set <priority>
                if ($page['menuStatus'] == 'Y') {
                    $pagePriority = '1.0';
                } else {
                    $pagePriority = '0.5';
                }
                //add to sitemap
                $url_item = $xml->addChild('url');
                $url_item->addChild('loc', $pageLoc);
                $url_item->addChild('lastmod', $pageLastMod);
                $url_item->addChild('changefreq', $pageChangeFreq);
                $url_item->addChild('priority', $pagePriority);
                exec_action('sitemap-additem');
            }
        }
        //create xml file
        $file = GSROOTPATH . 'sitemap.xml';
        exec_action('save-sitemap');
        XMLsave($xml, $file);
    }
    if (!defined('GSDONOTPING')) {
        if (file_exists(GSROOTPATH . 'sitemap.xml')) {
            if (200 === ($status = pingGoogleSitemaps($SITEURL . 'sitemap.xml'))) {
                #sitemap successfully created & pinged
                return true;
            } else {
                error_log(i18n_r('SITEMAP_ERRORPING'));
                return i18n_r('SITEMAP_ERRORPING');
            }
        } else {
            error_log(i18n_r('SITEMAP_ERROR'));
            return i18n_r('SITEMAP_ERROR');
        }
    } else {
        #sitemap successfully created - did not ping
        return true;
    }
}
开发者ID:Emmett-Brown,项目名称:linea,代码行数:81,代码来源:template_functions.php


示例11: find_accesskey

?" 
			 	id="delback" 
			 	accesskey="<?php 
echo find_accesskey(i18n_r('ASK_DELETE'));
?>
" 
			 	class="delconfirm noajax" ><?php 
i18n('ASK_DELETE');
?>
</a>
			<?php 
exec_action(get_filename_id() . '-edit-nav');
?>
		</div>
		<?php 
exec_action(get_filename_id() . '-body');
?>
				
		<table class="simple highlight" >
		<tr><td class="title" ><?php 
i18n('PAGE_TITLE');
?>
:</td><td><b><?php 
echo cl($title);
?>
</b> <?php 
echo $private;
?>
</td></tr>
		<tr><td class="title" ><?php 
i18n('BACKUP_OF');
开发者ID:kix23,项目名称:GetSimpleCMS,代码行数:31,代码来源:backup-edit.php


示例12: GS_Logging_Class

                $authenticated = false;
                # add login failure to failed logins log
                $logFailed = new GS_Logging_Class('failedlogins.log');
                $logFailed->add('Username', $userid);
                $logFailed->add('Reason', 'Invalid Password');
            }
            # end password match check
        } else {
            # user doesnt exist in this system
            $authenticated = false;
            # add login failure to failed logins log
            $logFailed = new GS_Logging_Class('failedlogins.log');
            $logFailed->add('Username', $userid);
            $logFailed->add('Reason', 'Invalid User');
        }
        # is this successful?
        if ($authenticated) {
            # YES - set the login cookie, then redirect user to secure panel
            create_cookie();
            exec_action('successful-login-end');
            redirect($cookie_redirect);
        } else {
            # NO - show error message
            $error = i18n_r('LOGIN_FAILED');
            $logFailed->save();
        }
        # end authenticated check
    }
    # end error check
}
# end submission check
开发者ID:elephantcode,项目名称:elephantcode,代码行数:31,代码来源:login_functions.php


示例13: foreach

foreach ($pluginfiles as $fi) {
    $pathExt = pathinfo($fi, PATHINFO_EXTENSION);
    $pathName = pathinfo($fi, PATHINFO_FILENAME);
    if ($pathExt == "php") {
        $table .= '<tr id="tr-' . $counter . '" >';
        $table .= '<td width="25%" ><b>' . $plugin_info[$pathName]['name'] . '</b></td>';
        $table .= '<td><span>' . $plugin_info[$pathName]['description'] . '<br />';
        $table .= $i18n['PLUGIN_VER'] . ' ' . $plugin_info[$pathName]['version'] . ' &nbsp;|&nbsp; By <a href="' . $plugin_info[$pathName]['author_url'] . '" target="_blank">' . $plugin_info[$pathName]['author'] . '</a></span></td>';
        $table .= "</tr>\n";
        $counter++;
    }
}
?>

<?php 
exec_action('plugin-hook');
?>

<?php 
get_template('header', cl($SITENAME) . ' &raquo; ' . $i18n['PLUGINS_MANAGEMENT']);
?>
	
	<h1><a href="<?php 
echo $SITEURL;
?>
" target="_blank" ><?php 
echo cl($SITENAME);
?>
</a> <span>&raquo;</span> <?php 
echo $i18n['PLUGINS_MANAGEMENT'];
?>
开发者ID:RobAnt,项目名称:GetSimple-Plugins,代码行数:31,代码来源:plugins.php


示例14: create_pagesxmlContent

function create_pagesxmlContent($flag)
{
    global $pagesArray;
    if (isset($_GET['upd']) && $_GET['upd'] == "edit-success" || $flag == 'true') {
        $menu = '';
        $filem = CATEGORIESPATH . "pages.xml";
        $path = CONTENTPATH;
        $dir_handle = @opendir($path) or die("Unable to open {$path}");
        $filenames = array();
        while ($filename = readdir($dir_handle)) {
            $ext = substr($filename, strrpos($filename, '.') + 1);
            if ($ext == "xml") {
                $filenames[] = $filename;
            }
        }
        $count = 0;
        $xml = @new SimpleXMLExtended('<channel></channel>');
        if (count($filenames) != 0) {
            foreach ($filenames as $file) {
                if ($file == "." || $file == ".." || is_dir(CONTENTPATH . $file) || $file == ".htaccess") {
                    // not a page data file
                } else {
                    $thisfile = file_get_contents($path . $file);
                    $data = simplexml_load_string($thisfile);
                    $count++;
                    $id = $data->url;
                    $pages = $xml->addChild('item');
                    $pages->addChild('url', $id);
                    $pagesArray[(string) $id]['url'] = (string) $id;
                    foreach ($data->children() as $item => $itemdata) {
                        if ($item != "content") {
                            $note = $pages->addChild($item);
                            $note->addCData($itemdata);
                            $pagesArray[(string) $id][$item] = (string) $itemdata;
                        }
                    }
                    $note = $pages->addChild('slug');
                    $note->addCData($id);
                    $pagesArray[(string) $id]['slug'] = (string) $data->slug;
                    $pagesArray[(string) $id]['filename'] = $file;
                    $note = $pages->addChild('filename');
                    $note->addCData($file);
                    // Plugin Authors should add custome fields etc.. here
                    exec_action('caching-save');
                }
                // else
            }
            // end foreach
        }
        // endif
        if ($flag == true) {
            $xml->asXML($filem);
        }
    }
}
开发者ID:Emmett-Brown,项目名称:linea,代码行数:55,代码来源:caching_functions.php


示例15: outputHeader

 public static function outputHeader($full = true, $omit = null)
 {
     global $metad, $metak, $title, $content, $url, $parent, $language;
     include GSADMININCPATH . 'configuration.php';
     if ($metad != '') {
         $description = stripslashes(htmlspecialchars_decode($metad, ENT_QUOTES));
     } else {
         if (function_exists('mb_substr')) {
             $description = trim(mb_substr(html_entity_decode(strip_tags(stripslashes(htmlspecialchars_decode($content, ENT_QUOTES))), ENT_QUOTES, 'UTF-8'), 0, 160));
         } else {
             $description = trim(substr(html_entity_decode(strip_tags(stripslashes(htmlspecialchars_decode($content, ENT_QUOTES))), ENT_QUOTES, 'UTF-8'), 0, 160));
         }
         $description = preg_replace('/\\(%.*?%\\)/', " ", $description);
         $description = preg_replace('/\\{%.*?%\\}/', " ", $description);
         $description = preg_replace('/\\n/', " ", $description);
         $description = preg_replace('/\\r/', " ", $description);
         $description = preg_replace('/\\t/', " ", $description);
         $description = preg_replace('/ +/', " ", $description);
     }
     $keywords = array();
     $tags = preg_split("/\\s*,\\s*/", stripslashes(htmlspecialchars_decode($metak, ENT_QUOTES)));
     if (count($tags) > 0) {
         foreach ($tags as $tag) {
             if (substr(trim($tag), 0, 1) != '_') {
                 $keywords[] = trim($tag);
             }
         }
     }
     if (!$omit || !in_array('description', $omit)) {
         echo '<meta name="description" content="' . htmlspecialchars(trim($description)) . '" />' . "\n";
     }
     if (!$omit || !in_array('keywords', $omit)) {
         echo '<meta name="keywords" content="' . htmlspecialchars(implode(', ', $keywords)) . '" />' . "\n";
     }
     if ($full) {
         if (!$omit || !in_array('generator', $omit)) {
             echo '<meta name="generator" content="' . $site_full_name . '" />' . "\n";
         }
         if (!$omit || !in_array('canonical', $omit)) {
             echo '<link rel="canonical" href="' . find_i18n_url($url, $parent, $language) . '" />' . "\n";
         }
     }
     if (function_exists('get_scripts_frontend')) {
         get_scripts_frontend();
     }
     exec_action('theme-header');
 }
开发者ID:Vin985,项目名称:clqweb,代码行数:47,代码来源:frontend.class.php


示例16: i18n_navigation_structure_undo

function i18n_navigation_structure_undo()
{
    $dir = GSBACKUPSPATH . 'i18n_navigation/';
    $dir_handle = @opendir($dir);
    if (!$dir_handle) {
        return false;
    }
    while ($filename = readdir($dir_handle)) {
        if (!is_dir($dir . $filename)) {
            if (!copy($dir . $filename, GSDATAPAGESPATH . $filename)) {
                closedir($dir_handle);
                return false;
            }
        }
    }
    closedir($dir_handle);
    exec_action('menu-aftersave');
    return true;
}
开发者ID:Vin985,项目名称:clqweb,代码行数:19,代码来源:structure.php


示例17: exec_action

				<?php 
exec_action('welcome-doc-link');
?>
			</ul>
			
			<h3><?php 
i18n('SUPPORT');
?>
</h3>
			<ul>
				<li><p><a href="log.php?log=failedlogins.log"><?php 
i18n('VIEW_FAILED_LOGIN');
?>
</a></p></li>
				<?php 
exec_action('support-extras');
?>
			</ul>

		</div>
	</div>
	
	<div id="sidebar" >
		<?php 
include 'template/sidebar-support.php';
?>
	</div>

</div>
<?php 
get_template('footer');
开发者ID:google-code-backups,项目名称:get-simple-cms,代码行数:31,代码来源:support.php


示例18: die

if (!defined('GSNOCSRF') || GSNOCSRF == FALSE) {
    $nonce = $_GET['nonce'];
    if (!check_nonce($nonce, "delete", "deletefile.php")) {
        die("CSRF detected!");
    }
}
// are we deleting pages?
if (isset($_GET['id'])) {
    $id = $_GET['id'];
    if ($id == 'index') {
        redirect('pages.php?upd=edit-error&type=' . urlencode(i18n_r('HOMEPAGE_DELETE_ERROR')));
    } else {
        updateSlugs($id);
        $status = delete_file($id);
        generate_sitemap();
        exec_action('page-delete');
        redirect("pages.php?upd=edit-" . $status . "&id=" . $id . "&type=delete");
    }
}
// are we deleting archives?
if (isset($_GET['zip'])) {
    $zip = $_GET['zip'];
    $status = delete_zip($zip);
    redirect("archive.php?upd=del-" . $status . "&id=" . $zip);
}
// are we deleting uploads?
if (isset($_GET['file'])) {
    $path = isset($_GET['path']) ? $_GET['path'] : "";
    $file = $_GET['file'];
    $status = delete_upload($file, $path);
    redirect("upload.php?upd=del-" . $status . "&id=" . $file . "&path=" . $path);
开发者ID:hatasu,项目名称:appdroid,代码行数:31,代码来源:deletefile.php


示例19: find_accesskey

    ?>
</a></li><?php 
}
?>
	<li id="sb_menumanager" class="last_sb"><a href="menu-manager.php" accesskey="<?php 
echo find_accesskey(i18n_r('MENU_MANAGER'));
?>
" <?php 
check_menu('menu-manager');
?>
><?php 
i18n('MENU_MANAGER');
?>
</a></li>
	<?php 
exec_action("pages-sidebar");
// @hook pages-sidebar sidebar list html output
?>
</ul>

<p id="js_submit_line" ></p>

<?php 
if (get_filename_id() === 'edit') {
    ?>
	<?php 
    if (getDef('GSAUTOSAVE')) {
        ?>
	<p id="autosavestatus"><?php 
        echo sprintf(i18n_r("AUTOSAVE_STATUS"), getDef('GSAUTOSAVE'));
        ?>
开发者ID:kix23,项目名称:GetSimpleCMS,代码行数:31,代码来源:sidebar-pages.php


示例20: date

	      		<p>&copy; 2009-<?php 
    echo date('Y');
    ?>
 <a href="http://get-simple.info/" target="_blank" >GetSimple CMS</a>
	      		<?php 
    echo '&ndash; ' . i18n_r('VERSION') . ' ' . $site_version_no;
    ?>
	      		</p> 
      		</div> <!-- end .footer-left -->
	      	<div class="gslogo" >
		      	<a href="http://get-simple.info/" target="_blank" ><img src="template/images/getsimple_logo.gif" alt="GetSimple Content Management System" /></a>
		    </div>
	      	<div class="clear"></div>
	      	<?php 
    get_scripts_backend(TRUE);
    exec_action('footer');
}
?>

		</div><!-- end #footer -->
		<?php 
if (!isAuthPage()) {
    if (isDebug()) {
        global $GS_debug;
        echo '<h2>' . i18n_r('DEBUG_CONSOLE') . '</h2><div id="gsdebug">';
        echo '<pre>';
        foreach ($GS_debug as $log) {
            if (is_array($log)) {
                print_r($log) . '<br/>';
            } else {
                print $log . '<br/>';
开发者ID:elephantcode,项目名称:elephantcode,代码行数:31,代码来源:footer.php



注:本文中的exec_action函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP exec_background函数代码示例发布时间:2022-05-15
下一篇:
PHP execSQL函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap