Ejemplo n.º 1
0
              <a href="/admin/announcements.php">Announcements</a>
            </li>
            <li>
              <a href="/admin/about.php">About</a>        
            </li>
          </ul>
        </div>
        <div class="span9">
          <div class="row-fluid">
            <div class="span12">
              <div class="hero-unit">
                <h4>My Classic Risk Formula Is:</h4>

                <form name="risk_levels" method="post" action="">
                <p>RISK = <?php 
create_dropdown("risk_models", get_setting("risk_model"));
?>
</p>

                <?php 
$risk_levels = get_risk_levels();
?>

                <p>I consider HIGH risk to be anything greater than: <input type="text" name="high" size="2" value="<?php 
echo $risk_levels[2]['value'];
?>
" /></p>
                <p>I consider MEDIUM risk to be less than above, but greater than: <input type="text" name="medium" size="2" value="<?php 
echo $risk_levels[1]['value'];
?>
" /></p>
Ejemplo n.º 2
0
              <form name="submit_management_review" method="post" action="">
                <h4>Submit Management Review</h4>
                <h4>Risk ID: <?php 
echo $id;
?>
</h4>
                <h4>Subject: <?php 
echo $subject;
?>
</h4>
                Review: <?php 
create_dropdown("review");
?>
<br />
		Next Step: <?php 
create_dropdown("next_step");
?>
<br />
                <label>Comments</label>
                <textarea name="comments" cols="50" rows="3" id="comments"></textarea>
                <div class="form-actions">
                  <button type="submit" name="submit" class="btn btn-primary">Submit</button>
                  <input class="btn" value="Reset" type="reset">
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
Ejemplo n.º 3
0
<br />
		Owner&#39;s Manager: <?php 
create_dropdown("user", NULL, "manager");
?>
<br />
		Risk Scoring Method: <select name="scoring_method" id="select" onChange="handleSelection(value)">
		<option selected value="1">Classic</option>
		<option value="2">CVSS</option>
		</select>
		<div id="classic">
                Current Likelihood: <?php 
create_dropdown("likelihood");
?>
<br />
                Current Impact: <?php 
create_dropdown("impact");
?>
<br />
		</div>
		<div id="cvss" style="display: none;">
		<p><input type="button" name="cvssSubmit" id="cvssSubmit" value="Score Using CVSS" onclick="javascript: popuponclick();" /></p>
                <input type="hidden" name="CVSS_AccessVector" id="CVSS_AccessVector" value="1.0" />
                <input type="hidden" name="CVSS_AccessComplexity" id="CVSS_AccessComplexity" value="0.71" />
                <input type="hidden" name="CVSS_Authentication" id="CVSS_Authentication" value="0.704" />
                <input type="hidden" name="CVSS_ConfImpact" id="CVSS_ConfImpact" value="0.66" />
                <input type="hidden" name="CVSS_IntegImpact" id="CVSS_IntegImpact" value="0.66" />
                <input type="hidden" name="CVSS_AvailImpact" id="CVSS_AvailImpact" value="0.66" />
                <input type="hidden" name="CVSS_Exploitability" id="CVSS_Exploitability" value="-1" />
                <input type="hidden" name="CVSS_RemediationLevel" id="CVSS_RemediationLevel" value="-1" />
                <input type="hidden" name="CVSS_ReportConfidence" id="CVSS_ReportConfidence" value="-1" />
                <input type="hidden" name="CVSS_CollateralDamagePotential" id="CVSS_CollateralDamagePotential" value="-1" />
Ejemplo n.º 4
0
            }
            if ($value == $symb) {
                // record the previous one so that we can use it later
                $save_next = true;
                $prev_symbol = $save_prev_symb;
            }
            $save_prev_symb = $value;
        }
    }
    if (!isset($symb)) {
        $symb = $first_symb;
    }
    if (!isset($prev_symbol)) {
        $prev_symbol = $first_symb;
    }
    $symb_name = get_symb_name($symb, $pf_exch);
    print '<form action="' . $_SERVER['REQUEST_URI'] . '" method="post" name="chart" id="chart">';
    print "<h1 align=\"center\">{$symb}.{$pf_exch}: {$symb_name}</h1>";
    print '<table border="1" cellpadding="5" cellspacing="0" align="center">';
    print '<tr><td><table width="100%" border="0"><tr><td>&lt;---<a href=' . $_SERVER['PHP_SELF'] . "?TickerSymbol={$prev_symbol}>{$prev_symbol}.{$pf_exch}</a></td>";
    print "<td>" . create_dropdown("TickerSymbol", $pairs, "TickerSymbol", "", $symb) . "</td>";
    print "<td><a href=" . $_SERVER['PHP_SELF'] . "?TickerSymbol={$next_symb}>{$next_symb}.{$pf_exch}</a>---&gt;</td></tr></table><tr><td><img SRC=\"/cgi-bin/chartstock.php?TickerSymbol={$symb}&TimeRange={$chart_period}&working_date={$pf_working_date}&exch={$pf_exch}&ChartSize=S&Volume=1&VGrid=1&HGrid=1&LogScale=0&ChartType=OHLC&Band=None&avgType1=SMA&movAvg1=10&avgType2=SMA&movAvg2=25&Indicator1=RSI&Indicator2=MACD&Indicator3=WilliamR&Indicator4=TRIX&Button1=Update%20Chart\" ALIGN=\"bottom\" BORDER=\"0\"></td></tr>";
    print "<tr><td><img SRC=\"/cgi-bin/close_sma.php?symb={$symb}\" ALIGN=\"bottom\" BORDER=\"0\"></td></tr>";
    print "<tr><td><img SRC=\"/cgi-bin/close_ma_diff.php?symb={$symb}\" ALIGN=\"bottom\" BORDER=\"0\"></td></tr>";
    print "<tr><td><img SRC=\"/cgi-bin/close_ema.php?symb={$symb}\" ALIGN=\"bottom\" BORDER=\"0\"></td></tr>";
    print "<tr><td><img SRC=\"/cgi-bin/exchange_indicators.php\" ALIGN=\"bottom\" BORDER=\"0\"></td></tr>";
    print "</table>\n";
    print "</form>\n";
} else {
    tr_warn('No username in cookie');
}
                </form>
              </div>
              <div class="hero-unit">
                <form name="likelihood" method="post" action="">
                <p>
                <h4>Likelihood:</h4>
                Change <?php 
create_dropdown("likelihood");
?>
 to <input name="new_name" type="text" size="20" />&nbsp;&nbsp;<input type="submit" value="Update" name="update_likelihood" /></p>
                </form>
              </div>
              <div class="hero-unit">
                <form name="mitigation_effort" method="post" action="">
                <p>
                <h4>Mitigation Effort:</h4>
                Change <?php 
create_dropdown("mitigation_effort");
?>
 to <input name="new_name" type="text" size="20" />&nbsp;&nbsp;<input type="submit" value="Update" name="update_mitigation_effort" /></p>
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>

</html>
            <li>
              <a href="/management/review_risks.php">V. Review Risks Regularly</a>     
            </li>
          </ul>
        </div>
        <div class="span9">
          <div class="row-fluid">
            <div class="span12">
              <div class="hero-unit">
                <h4>1) Add and Remove Projects</h4>
                <p>Add and remove projects in order to associate multiple risks together for prioritization.</p>
                <form name="project" method="post" action="">
                <p>
                Add new project named <input name="new_project" type="text" maxlength="100" size="20" />&nbsp;&nbsp;<input type="submit" value="Add" name="add_project" /><br />
                Delete current project named <?php 
create_dropdown("projects");
?>
&nbsp;&nbsp;<input type="submit" value="Delete" name="delete_project" />
                </p>
                </form>
              </div>
              <div class="hero-unit">
                <h4>2) Add Unassigned Risks to Projects</h4>
                <p>Drag and drop unassigned risks marked for consideration as a project into the appropriate project tab.</p>
                <?php 
get_project_tabs();
?>
              </div>
              <div class="hero-unit">
                <h4>3) Prioritize Projects</h4>
                <p>Move projects around and change the order of prioritization.  Once finished, don't forget to press the &quot;Update&quot; button to save your changes.</p>
Ejemplo n.º 7
0
        </div>
        <div class="span9">
          <div class="row-fluid">
            <div class="span12">
              <form name="close_risk" method="post" action="">
                <h4>Close Risk</h4>
                <h4>Risk ID: <?php 
echo $id;
?>
</h4>
                <h4>Subject: <?php 
echo $subject;
?>
</h4>
                Reason: <?php 
create_dropdown("close_reason");
?>
<br />
                <label>Close-Out Information</label>
                <textarea name="note" cols="50" rows="3" id="note"></textarea>
                <div class="form-actions">
                  <button type="submit" name="submit" class="btn btn-primary">Submit</button>
                  <input class="btn" value="Reset" type="reset">
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
              <div class="hero-unit">
                <form name="delete_user" method="post" action="">
                <p>
                <h4>Delete an Existing User:</h4>
                Delete current user <?php 
create_dropdown("user");
?>
&nbsp;&nbsp;<input type="submit" value="Delete" name="delete_user" />
                </p>
                </form>
              </div>
              <div class="hero-unit">
                <form name="password_reset" method="post" action="">
                <p>
                <h4>Password Reset:</h4>
                Send password reset email for user <?php 
create_dropdown("user");
?>
&nbsp;&nbsp;<input type="submit" value="Send" name="password_reset" />
                </p>
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>

</html>
Ejemplo n.º 9
0
  <th>Class</th>
  <th>Order</th>
  <th>Last Looted</th>
  <th>First Pass</th>
  <th>Second Pass</th>
  <?php 
        if ($editmode == 1) {
            echo "<th>Delete?</th>";
        }
        ?>
</tr>
<tr>
  <td><input type="text" size="15" maxlength="15" name="cname"></td>
  <td>
  	<?php 
        create_dropdown("class");
        ?>
  </td>
  <td><input type="text" size="2" maxlength="2" name="order"></td>
  <td><input type="text" size="15" maxlength="15" name="lastlooted"></td>
  <td><input type="text" size="15" maxlength="15" name="firstpass"></td>
  <td><input type="text" size="15" maxlength="15" name="secondpass"></td>
  <td><input type="submit" name="submit" value="Add"></td>
</tr>
</table>
<input type="hidden" name=viewselect value="<?php 
        echo $viewselect;
        ?>
">
</form>
<?php