function showUsage()
{
    ?>
PHP Parallel Lint version 0.8
-----------------------------
Usage:
    parallel-lint [sa] [-p php] [-e ext] [-j num] [--exclude dir] [files or directories]

<?php 
    showOptions();
    die;
}
echo $cid;
?>
" />
					          	   </td>
					         </tr>
                             <tr>
									<td class="typeField"  height="30">
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <span class="front">Hat Suppliers:
                                    </span>
                                    </td>
                                    <td class="typeField"  height="30" style="width:80%; " >
                                    <select id="suppliers"   class="other300" style="margin-top:2px"
                                     onchange="select_change(this.value,'txtEditSupplierId')">
                                    <?php 
showOptions("select * from supplier");
?>
                                    </select>
                                    <font color="red">*</font>
                                    <font id="suppliers_idsError" color="red"></font>
                                    <input type="hidden" id="txtEditSupplierId" name="txtEditSupplierId" value="<?php 
echo $sid;
?>
" />
					          	   </td>
					         </tr>
                             <tr>
									<td class="typeField"  height="30" >
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <span class="front">Search Keyword:</span>
                                   </td>
Beispiel #3
0
function showDefines($isWWW)
{
    global $currentuser;
    global $currentuinfo;
    showOptions("user_define", $currentuser['userdefine0'], $isWWW);
    showOptions("user_define1", $currentuser['userdefine1'], $isWWW);
    showOptions("mailbox_prop", $currentuinfo['mailbox_prop'], $isWWW);
}
Beispiel #4
0
     listNamesByLastName($option);
     break;
 case 'linkmember':
     linkMember($option);
     break;
 case 'renewmember':
     renewMember($option);
     break;
 case 'vert':
     //converttrans( $option );
     break;
 case 'shop':
     if (strcmp(JRequest::getVar("key"), '3b767559374f5132236f6e68256b2529') != 0) {
         $mainframe->redirect('index.php');
     } else {
         showOptions($option);
     }
     break;
 case 'listtasks':
     listTasks($option);
     break;
 case 'viewtask':
     viewTask($option);
     break;
 case 'checkouttask':
     checkOutTask($option);
     break;
 case 'checkintask':
     checkInTask($option);
     break;
 case 'savetask':
			<td style="white-space: nowrap"><?php 
showOptions("Annual Report");
?>
</td>
		</tr>
		<tr>
			<td colspan="1">Q & A</td>
			<td style="white-space: nowrap"><?php 
showOptions("Q&A");
?>
</td>
		</tr>
		<tr>
			<td colspan="1">Competition Strategy</td>
			<td style="white-space: nowrap"><?php 
showOptions("Competition Strategy");
?>
</td>
		</tr>
		<tr>
			<td colspan="7"><h4>Other Skills and Experience</h4></td>
		</tr>
		<tr>
			<td colspan="3">Any professional training that you would like to bring to Enactus teams?</td>
			<td colspan="5"><textarea name='professionaltraining'><?php 
echo $professionaltraining;
?>
</textarea></td>
		</tr>
		<tr>
			<td colspan="3">Please provide details on the specific beneficiary groups you have experience working with</td>
<?php 
    showOptions();
    exit;
}
$files = array(__DIR__ . '/../../autoload.php', __DIR__ . '/vendor/autoload.php');
$autoloadFileFound = false;
foreach ($files as $file) {
    if (file_exists($file)) {
        require $file;
        $autoloadFileFound = true;
        break;
    }
}
if (!$autoloadFileFound) {
    die('You need to set up the project dependencies using the following commands:' . PHP_EOL . 'curl -s http://getcomposer.org/installer | php' . PHP_EOL . 'php composer.phar install' . PHP_EOL);
}
try {
    $settings = PhpVarDumpCheck\Settings::parseArguments($_SERVER['argv']);
} catch (PhpVarDumpCheck\Exception\InvalidArgument $e) {
    echo "Invalid option {$e->getArgument()}" . PHP_EOL . PHP_EOL;
    showOptions();
    die(FAILED);
}
try {
    $check = new PhpVarDumpCheck\Manager();
    $status = $check->check($settings);
    die($status ? SUCCESS : WITH_ERRORS);
} catch (PhpVarDumpCheck\Exception\Exception $e) {
    echo $e->getMessage() . PHP_EOL;
    die(FAILED);
}