8+ results for 'eval $_GET' (0 ms)

Not the results you expected?

class.redux_admin_notices.php (https://gitlab.com/cmtsheikeshadi/wordpress_theme_devolopment) PHP · 189 lines

38 /**

39 * adminNotices - Evaluates user dismiss option for displaying admin notices

40 *

77 // the redux page slug if the GET is empty.

78 $pageName = empty( $_GET['page'] ) ? '&page=' . self::$_parent->args['page_slug'] : '&page=' . esc_attr( $_GET['page'] );

79

80 // Ditto for the current tab.

81 $curTab = empty( $_GET['tab'] ) ? '&tab=0' : '&tab=' . esc_attr( $_GET['tab'] );

82 }

146 // Verify the dismiss and id parameters are present.

147 if ( isset( $_GET['dismiss'] ) && isset( $_GET['id'] ) ) {

148 if ( 'true' == $_GET['dismiss'] || 'false' == $_GET['dismiss'] ) {

153 // Get the notice id

154 $id = esc_attr( $_GET['id'] );

155 $val = esc_attr( $_GET['dismiss'] );

article.app.php (https://github.com/wallage/ecmall.git) PHP · 230 lines

28 $cate_id = !empty($_GET['cate_id'])? intval($_GET['cate_id']) : $this->_ACC[ACC_NOTICE]; //如果cate_id为空则默认显示商城快讯

29 isset($_GET['code']) && isset($this->_ACC[trim($_GET['code'])]) && $cate_id = $this->_ACC[trim($_GET['code'])]; //如果有code

30 /* 取得当前分类及子孙分类cate_id */

74 {

75 $article_id = empty($_GET['article_id']) ? 0 : intval($_GET['article_id']);

76 $cate_ids = array();

134 {

135 $code = empty($_GET['code']) ? '' : trim($_GET['code']);

136 if (!$code)

settings.php (https://gitlab.com/gregtyka/lfmawordpress) PHP · 110 lines

20

21 $current_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : '';

22

32

33 if ( !empty( $_GET['settings-updated'] ) ) : ?>

34 <div id="message" class="updated notice is-dismissible">

70 $tabs = learn_press_settings_tabs_array();

71 $current_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : '';

72

zfs_get_009_pos.ksh (https://github.com/adilger/zfs.git) Korn Shell · 112 lines

87 for prop in $(gen_option_str "${all_props[*]}" "" "," $prop_numb); do

88 log_must eval "zfs get -H -d $dp -o name $prop $DEPTH_FS > $DEPTH_OUTPUT"

89 log_must eval "zfs get -rH -o name $prop $DEPTH_FS | egrep -e '$eg_opt' > $EXPECT_OUTPUT"

95 # Ensure 'zfs get -t snapshot <dataset>' works as though -d 1 was specified

96 log_must eval "zfs get -H -t snapshot -o name creation $DEPTH_FS > $DEPTH_OUTPUT"

97 log_must eval "zfs get -H -t snapshot -d 1 -o name creation $DEPTH_FS > $EXPECT_OUTPUT"

100 # Ensure 'zfs get -t snap' works as a shorthand for 'zfs get -t snapshot'

101 log_must eval "zfs get -H -t snap -d 1 -o name creation $DEPTH_FS > $DEPTH_OUTPUT"

102 log_must eval "zfs get -H -t snapshot -d 1 -o name creation $DEPTH_FS > $EXPECT_OUTPUT"

105 # Ensure 'zfs get -t bookmark <dataset>' works as though -d 1 was specified

106 log_must eval "zfs get -H -t bookmark -o name creation $DEPTH_FS > $DEPTH_OUTPUT"

107 log_must eval "zfs get -H -t bookmark -d 1 -o name creation $DEPTH_FS > $EXPECT_OUTPUT"

view.php (https://github.com/md-tech/openemr.git) PHP · 1083 lines

27

28 $obj = formFetch("form_progressnotes", $_GET["id"]);

29

31

32 <form method=post action="<?php echo $rootdir?>/forms/progressnotes/save.php?mode=update&id=<?php echo $_GET["id"];?>" name="my_form">

33

Chrom.hs (https://bitbucket.org/patyoon/haskell-genetic-algorithm.git) Haskell · 312 lines

90 prop_xoverGetOne :: PropertyM IO ()

91 prop_xoverGetOne = run (evalRandIO $ twoTupleM genRandom >>= makeTuple)

92 >>= assert . check

114 prop_xoverGetTwo :: PropertyM IO ()

115 prop_xoverGetTwo = run (evalRandIO $ twoTupleM genRandom >>= makeTuple)

116 >>= assert . check

161 prop_xoverTwoPivot :: PropertyM IO ()

162 prop_xoverTwoPivot = run (evalRandIO $ twoTupleM genRandom >>= makeTuple)

163 >>= assert . check

216 prop_xoverRandomPick :: PropertyM IO ()

217 prop_xoverRandomPick = run (evalRandIO $ twoTupleM genRandom >>= makeTuple)

218 >>= assert . check

250 prop_mutateRand :: PropertyM IO ()

251 prop_mutateRand = run (evalRandIO $ genRandom >>= makeMutTuple) >>= assert . check

252 where check :: (Chrom, Chrom) -> Bool

modcp.htm (https://gitlab.com/phamngsinh/baitaplon_sinhvien) HTML · 63 lines

23 <ul>

24 <li{if $_GET[action] == 'home'} class="a cl"{else} class="cl"{/if}><span class="y mtn">$notenum</span><a href="{$cpscript}?mod=modcp&action=home$forcefid">{lang mod_notice_title}</a></li>

25 <!--{if $modforums['fids']}-->

31 <!--{loop $_G['setting']['plugins']['modcp_base'] $id $module}-->

32 <li{if $_GET[id] == $id} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=plugin&op=base&id=$id{$forcefid}">$module[name]</a></li>

33 <!--{/loop}-->

35 <!--{if $_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || $_G['group']['allowbanvisituser'] || $_G['group']['allowbanip']}-->

36 <!--{if $_G['group']['allowbanuser'] || $_G['group']['allowbanvisituser']}--><li{if $_GET[action] == 'member' && $op == 'ban'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=member&op=ban$forcefid">{lang mod_option_member_ban}</a></li><!--{/if}-->

37 <!--{if $_G['group']['allowbanip']}--><li{if $_GET[action] == 'member' && $op == 'ipban'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=member&op=ipban$forcefid">{lang mod_option_member_ipban}</a></li><!--{/if}-->

38 <!--{if $modforums['fids']}--><li{if $_GET[action] == 'forumaccess'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=forumaccess{$forcefid}">{lang mod_option_member_access}</a></li><!--{/if}-->

39 <!--{if $_G['group']['allowedituser']}--><li{if $_GET[action] == 'member' && $op == 'edit'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=member&op=edit$forcefid">{lang mod_option_member_edit}</a></li><!--{/if}-->

41 <!--{if $modforums['fids']}-->

42 <li{if $_GET[action] == 'thread' || $_GET[action] == 'recyclebin'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=thread&op=thread{$forcefid}">{lang mod_option_subject}</a></li>

43 <!--{if $_G['group']['allowrecommendthread']}--><li{if $_GET[action] == 'forum' && $op == 'recommend'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=forum&op=recommend&show=all{$forcefid}">{lang mod_option_forum_recommend}</a></li><!--{/if}-->

el-070722-index-2.php (https://bitbucket.org/shuangxinyu/emacspack.git) PHP · 49 lines

19 <?php

20 if (isset($_GET["page"])) {

21 $thepage = $_GET['page'];