General Election?"; $o[4] = "What will the Prime Minister do when an election is called?"; $o[5] = "Who are eligible to become a candidate at a parliamentary election?"; $o[6] = "What is a constituency?"; $o[7] = "Which are the two dominating political parties in the UK?"; $o[8] = "During election campaigns candidates from the parties will canvass the public for votes. What does this mean?"; $o[9] = "What is a party manifesto?"; $o[10] = "Who are eligible to vote?"; $o[11] = "What does everyone who is entitled to vote do on polling day (if they don't choose to stay home)?"; $o[12] = "First Past the Post is the name usually given to the voting system used in the UK for general elections. What does this mean?"; $o[13] = "What is meant by a hung parliament? Can you find another name for it?"; $o[14] = "A candidate can win his/her constituency with far less than 50% of the votes. How can this happen?"; $o[15] = "What will the Queen do after all of the results are known?"; $o[16] = "What will the new Prime Minister do after a general election?"; $o[17] = "What is the Shadow Cabinet?"; $o[18] = "What is the State Opening of Parliament?"; $svar[1] = " In Britain a Parliament serves for a maximum of five years as set out by The Parliament Act 1911, after which it is dissolved and a General Election is held. "; $svar[2] = " It is dissolved and a General Election is held. "; $svar[3] = " A General Election is when the electors of the country cast their votes to elect Members of Parliament. "; $svar[4] = " He visits the monarch in order to dissolve the existing parliament and the political parties begin their election campaigns. "; $svar[5] = " To be eligible to become a candidate at a parliamentary election you must be a British, Commonwealth or Irish Republic citizen and aged 21 or over. "; $svar[6] = " Britain is divided into areas called constituencies and each constituency represents one seat in Parliament. "; $svar[7] = " The Labour Party and The Conservative Party "; $svar[8] = " When the candidates \"canvass\" the public for votes at an election, the candidates and their supporters will go from door to door around the constituency talking to the electorate, handing out leaflets, as well as holding public meetings in order to win votes. On election day itself they will encourage people to out and vote. "; $svar[9] = " A manifesto is a public declaration of the ideas and policies of a political party. It is usually published during the campaign before a General Election. Each party draws up its manifesto after a lot of consultation with members of its party. The manifesto contains a description of what the party will do if it wins the election and becomes the Government. "; $svar[10] = " Most people over the age of 18 are eligible to vote if they have registered to do so. "; $svar[11] = " Everyone who is entitled to vote will vote for their choice of candidate to represent their constituency and its interests in the House of Commons. Voters put a cross next to the candidate they have chosen on a ballot (voting) paper. They then fold the paper and put it into a ballot box. "; $svar[12] = " MPs represent individual constituencies and each constituency elects its representative to Parliament. The candidate with the most votes in each constituency becomes its MP. "; $svar[13] = " A party that wins more than half of the seats in the Commons is said to have an `overall majority' and can therefore form the government. If no party manages to win an overall majority then there is a 'hung parliament' and some parties will combine to form a coalition government. "; $svar[14] = " If more than two parties, e.g. Labour, the Conservatives and the Liberal Pary have representatives in a constituency, they may share the votes more or less evenly between them. The candidate with most votes behind her/him will become the constituency's MP even if she/he has won only a little bit more than one third of the votes. "; $svar[15] = " She will usually invite the leader of the party winning the most seats in the House of Commons to be Prime Minister and to form a Government. "; $svar[16] = " He will appoint approximately 115 members of his party from both Houses to become Cabinet or more junior ministers to form the Government. "; $svar[17] = " After the general election the second largest party becomes the Official Opposition with a small group of its MPs being chosen to form the Shadow Cabinet. Its leader is known as the Leader of the Opposition. "; $svar[18] = " The Monarch will officially open the new Parliament after a general elction and the business of government can begin again. "; // Bla gjennom radene i bruker-arrayen og fyll ut space og fjern slashes $radnr=1; while ($radnr <= $rader) { //$s[$teller] = str_replace(""","a","$s[$teller]"); $o[$radnr] = str_replace(" "," ","$o[$radnr]"); $o[$radnr] = Stripslashes("$o[$radnr]"); $s[$radnr] = str_replace("'","’","$s[$radnr]"); $s[$radnr] = str_replace(" "," ","$s[$radnr]"); $s[$radnr] = Stripslashes("$s[$radnr]"); $radnr=$radnr +1; } if (($red != "t") and ($fontstr="")) { $fontstr = 80; $sidebr = 11; } if (!isset($sjekksvar)) { if ($id > "") { // dersom 'lagre' er trykket, sletter vi alt i formen og erstatter det med nytt innhold if (isset($lagre)) { $lagret = "ja"; $sql = "DELETE FROM gm_svar WHERE ID='$id' AND side='$pageid'"; if (@mysql_query($sql)) { } $x=0; $dato=date("Ymd"); while ($rader+1 != $x) { $sql = "INSERT INTO gm_svar SET ID = '$id', side = '$pageid', dato = '$dato', svar = '$s[$x]', nr = '$x'"; $x=$x+1; if (!mysql_query($sql)) error("Det inntraff en databasefeil ved registrering av ". "dine data.\\nDersom feilen vedvarer, vennligst ". "kontakt jmoller@online.no"); } } // dersom bruker er innlogget if (isset($id)) { $sql = "SELECT * FROM gm_svar WHERE ID = '$id' AND side = '$pageid' ORDER BY 'nr'"; $result = mysql_query($sql); $y=0; $teste=mysql_num_rows($result); // dersom poster finnes åpnes de og svarverdiene lagres i array if (mysql_num_rows($result) > 0) { // Bla gjennom radene i bruker-arrayen og plukk ut de aktuelle data while ( $row = mysql_fetch_array($result)) { $grunndato=$row["dato"]; $s[$y]=$row["svar"]; $s[$y] = str_replace("'","´","$s[$y]"); $s[$y] = Stripslashes("$s[$y]"); $y=$y +1; } } $sql = "SELECT * FROM gm_user WHERE ID = '$id'"; $result = mysql_query($sql); // dersom poster finnes åpnes de og svarverdiene lagres i array if (mysql_num_rows($result) > 0) { // Bla gjennom radene i bruker-arrayen og plukk ut de aktuelle data while ( $row = mysql_fetch_array($result)) { $etternavn = $row["etternavn"]; $fornavn = $row["fornavn"]; $sender_klasse = $row["klasse"]; $sender_email = $row["email"]; $sender_skole = $row["skole"]; $sender_teacher = $row["teacher"]; } } $sender_name = $fornavn." ".$etternavn; if ($sender_teacher > "") { $status = "Lærer"; }else{ $status = "Elev"; } } // slutt på if $id } // slutt på if !sjekksvar } ?> <? echo $sidetittel ?> "; echo ""; ?> "; include $_SERVER['DOCUMENT_ROOT'] . "/css/includes/toppmeny_eng.php"; echo ""; ?>
>
"; include $_SERVER['DOCUMENT_ROOT'] . "/css/includes/oppgheading_eng.php"; echo ""; if ($id > "") { if (!isset($sjekksvar)) { echo "
Logged in: $fornavn $etternavn
"; }else{ echo "
Logged in: $fornavn $etternavn
"; } }else{ echo "
"; include $_SERVER['DOCUMENT_ROOT'] . "/css/includes/text/ikke_innlogget1_eng.php"; echo "
"; } ?> Main sources:
"New Perspectives" (Aschehoug)
A-Z of Parliament (BBC)


Some useful links:

    $o[$teller1]



    "; if (($id > "") AND ($lagring == 5)) { echo "

    "; $lagring = 1; } }else{ echo "
    Question:   $teller1
    $o[$teller1]
    Suggested answer:
    $svar[$teller1]
    Your answer:
    $s[$teller1]
    "; echo "
    Mark:   (0-6 : Very bad = 0 Exellent = 6)

    "; echo "


    "; } $teller=$teller+1; $teller1=$teller1+1; $lagring=$lagring+1; } ?>
"; //} if (!isset($sjekksvar)) { echo ""; echo ""; echo ""; echo ""; echo ""; }else{ echo ""; echo ""; echo ""; echo ""; echo ""; } ?>