Jump to content
php.lv forumi

cucumber

Reģistrētie lietotāji
  • Posts

    667
  • Joined

  • Last visited

About cucumber

  • Birthday 07/10/1987

Contact Methods

  • Website URL
    http://[ ламер пингующей маздай недопаченый ]
  • ICQ
    0

Profile Information

  • Location
    Latvia->СилаKrogs
  • Interests
    $page = @file_get_contents("http://www.meteo.lv/templates/weather/weather_actual_data.php?r=2028460217489b34bed963a&trans=1");<br /> // $page = NULL;<br /> if( $page )<br /> {<br /> $xml = simplexml_load_string($page);<br /> $grades = (string) $xml->points -> RIGASLU['c'];<br /> if( $grades >= 0 ) <br /> $grades = "<span style='color: red;'>$grades</span>";<br /> else<br /> $grades = "<span style='color: blue;'>$grades</span>";<br /> $_SESSION['rigaGrades'] = $grades;<br /> $wind = $xml->points -> RIGASLU['c'];<br /> }<br /><br />Linki<br />#RSS iebaroshana php<br />http://www.sitepoint.com/article/php-xml-parsing-rss-1-0/<br />http://ditio.net/2008/06/19/using-php-curl-to-read-rss-feed-xml/<br /><br /><br />#include <iostream><br />using namespace std;<br /><br />int **DinMas(int rows, int cols){<br /> <br /> int **mas;<br /> mas = new int *[rows];<br /> for(int i = 0; i<rows; ++i)<br /> mas[i] = new int[cols];<br /> <br />//Add tional <br />// mas[5] = new int[cols];<br /> <br /> return mas; <br />}<br /><br />void DinAdd(int **p, int rows, int cols){<br /> p[rows]= new int[cols];<br />}<br /><br /><br />void DinRem(int **p,int rows){<br /> for(int i = 0; i<rows; ++i)<br /> delete[] *p;<br /> <br /> delete[] p; <br />}<br /><br />int main(){<br /> int z; <br /> int **p; <br /> <br /> p = DinMas(5,5);<br /> //DinRem(p,5);<br /> //DinAdd(p,5,5);<br /> <br /> for(int i = 0; i<5; ++i)<br /> for(int x = 0; x<5; ++x)<br /> p[i][x] = i;<br /><br /> for(int i = 0; i<5; ++i){<br /> for(int x = 0; x<5; ++x)<br /> cout << p[i][x];<br /> cout << "n"; <br /> } <br /><br /> <br /> cin >> z;<br /> return 0;<br />}<br /><br /><br /><br />// generated by quake, do not modify<br />unbindall<br />bind TAB "+scores"<br />bind ENTER "+button2"<br />bind ESCAPE "togglemenu"<br />bind SPACE "+moveup"<br />bind + "sizeup"<br />bind - "sizedown"<br />bind / "weapnext"<br />bind 0 "weapon 10"<br />bind 1 "weapon 1"<br />bind 2 "weapon 7"<br />bind 3 "weapon 3"<br />bind 4 "weapon 4"<br />bind 5 "weapon 5"<br />bind 8 "weapon 8"<br />bind 9 "weapon 10"<br />bind = "sizeup"<br />bind [ "weapprev"<br />bind "+mlook"<br />bind ] "weapnext"<br />bind _ "sizedown"<br />bind ` "toggleconsole"<br />bind a "+moveleft"<br />bind c "+movedown"<br />bind d "+moveright"<br />bind f "weapon 8"<br />bind g "weapon 4"<br />bind q "weapon 2"<br />bind r "weapon 5"<br />bind s "+back"<br />bind t "messagemode"<br />bind w "+forward"<br />bind z "weapon 6"<br />bind ~ "toggleconsole"<br />bind PAUSE "pause"<br />bind UPARROW "+forward"<br />bind DOWNARROW "+back"<br />bind LEFTARROW "+left"<br />bind RIGHTARROW "+right"<br />bind ALT "+strafe"<br />bind CTRL "+attack"<br />bind SHIFT "+speed"<br />bind DEL "+lookdown"<br />bind PGDN "+lookup"<br />bind END "centerview"<br />bind F1 "vote yes"<br />bind F2 "vote no"<br />bind F3 "ui_teamorders"<br />bind F11 "screenshot"<br />bind F12 "screenshotjpeg"<br />bind MOUSE1 "+attack"<br />bind MOUSE2 "+strafe"<br />bind MOUSE3 "+zoom"<br />bind MWHEELDOWN "weapnext"<br />bind MWHEELUP "weapprev"<br />seta cg_trueLightning "0.0"<br />seta cg_oldPlasma "1"<br />seta cg_oldRocket "1"<br />seta cg_oldRail "1"<br />seta ui_bigFont "0.4"<br />seta ui_smallFont "0.25"<br />seta cg_noProjectileTrail "0"<br />seta cg_noTaunt "0"<br />seta cg_smoothClients "0"<br />seta cg_scorePlums "1"<br />seta cg_cameraOrbitDelay "50"<br />seta cg_noVoiceText "0"<br />seta cg_noVoiceChats "0"<br />seta cg_teamChatsOnly "0"<br />seta cg_drawFriend "1"<br />seta cg_drawTeamOverlay "0"<br />seta cg_deferPlayers "1"<br />seta cg_forceModel "0"<br />seta cg_teamChatHeight "0"<br />seta cg_teamChatTime "3000"<br />seta cg_runroll "0.005"<br />seta cg_runpitch "0.002"<br />seta cg_railTrailTime "400"<br />seta cg_lagometer "1"<br />seta cg_crosshairY "0"<br />seta cg_crosshairX "0"<br />seta cg_crosshairHealth "1"<br />seta cg_crosshairSize "24"<br />seta cg_drawRewards "1"<br />seta cg_drawAttacker "1"<br />seta cg_drawAmmoWarning "1"<br />seta cg_drawIcons "1"<br />seta cg_drawSnapshot "0"<br />seta cg_drawStatus "1"<br />seta cg_stereoSeparation "0.4"<br />seta cg_zoomfov "22.5"<br />seta g_allowVote "1"<br />seta g_filterBan "1"<br />seta g_banIPs ""<br />seta g_logSync "0"<br />seta g_log "games.log"<br />seta g_warmup "20"<br />seta g_teamForceBalance "0"<br />seta g_teamAutoJoin "0"<br />seta g_friendlyFire "0"<br />seta capturelimit "8"<br />seta g_maxGameClients "0"<br />seta cm_playerCurveClip "1"<br />seta net_socksPassword ""<br />seta net_socksUsername ""<br />seta net_socksPort "1080"<br />seta net_socksServer ""<br />seta net_socksEnabled "0"<br />seta net_noipx "0"<br />seta net_noudp "0"<br />seta server16 ""<br />seta server15 ""<br />seta server14 ""<br />seta server13 ""<br />seta server12 ""<br />seta server11 ""<br />seta server10 ""<br />seta server9 ""<br />seta server8 ""<br />seta server7 ""<br />seta server6 ""<br />seta server5 ""<br />seta server4 ""<br />seta server3 ""<br />seta server2 ""<br />seta server1 ""<br />seta cg_drawCrosshairNames "1"<br />seta cg_brassTime "2500"<br />seta ui_browserShowEmpty "1"<br />seta ui_browserShowFull "1"<br />seta ui_browserSortKey "4"<br />seta ui_browserGameType "0"<br />seta ui_browserMaster "0"<br />seta g_spSkill "2"<br />seta g_spVideos "tier41tier31tier21tier11"<br />seta g_spAwards "a4225a242a19a56"<br />seta g_spScores5 ""<br />seta g_spScores4 ""<br />seta g_spScores3 ""<br />seta g_spScores2 "l131l121l111l101l91l81l71l61l51l41l01l31l21l11l241"<br />seta g_spScores1 ""<br />seta ui_ctf_friendly "0"<br />seta ui_ctf_timelimit "30"<br />seta ui_ctf_capturelimit "8"<br />seta ui_team_friendly "1"<br />seta ui_team_timelimit "20"<br />seta ui_team_fraglimit "0"<br />seta ui_tourney_timelimit "15"<br />seta ui_tourney_fraglimit "0"<br />seta ui_ffa_timelimit "0"<br />seta ui_ffa_fraglimit "20"<br />seta com_soundMegs "8"<br />seta s_mixPreStep "0.05"<br />seta s_mixahead "0.2"<br />seta s_doppler "1"<br />seta s_separation "0.5"<br />seta s_volume "0.8"<br />seta vid_ypos "22"<br />seta vid_xpos "3"<br />seta r_lastValidRenderer "Intel 945GM"<br />seta cg_shadows "1"<br />seta r_primitives "0"<br />seta r_railSegmentLength "32"<br />seta r_railCoreWidth "6"<br />seta r_railWidth "16"<br />seta r_facePlaneCull "1"<br />seta r_swapInterval "0"<br />seta r_textureMode "GL_LINEAR_MIPMAP_NEAREST"<br />seta r_finish "0"<br />seta r_dlightBacks "1"<br />seta r_dynamiclight "1"<br />seta r_drawSun "0"<br />seta r_ignoreGLErrors "1"<br />seta r_flares "0"<br />seta r_lodbias "0"<br />seta r_lodCurveError "250"<br />seta r_ignoreFastPath "1"<br />seta r_smp "0"<br />seta r_subdivisions "4"<br />seta r_simpleMipMaps "1"<br />seta r_customaspect "1"<br />seta r_customheight "1024"<br />seta r_customwidth "1600"<br />seta r_fullscreen "1"<br />seta r_ignorehwgamma "0"<br />seta r_overBrightBits "1"<br />seta r_depthbits "0"<br />seta r_stencilbits "8"<br />seta r_stereo "0"<br />seta r_colorbits "0"<br />seta r_texturebits "0"<br />seta r_detailtextures "1"<br />seta r_roundImagesDown "1"<br />seta r_ext_texture_env_add "1"<br />seta r_ext_compiled_vertex_array "1"<br />seta r_ext_multitexture "1"<br />seta r_ext_gamma_control "1"<br />seta r_ext_compressed_textures "0"<br />seta r_allowExtensions "1"<br />seta r_glDriver "opengl32"<br />seta cg_viewsize "100"<br />seta cg_predictItems "1"<br />seta cl_punkbuster "0"<br />seta cl_anonymous "0"<br />seta color2 "5"<br />seta color1 "4"<br />seta g_blueTeam "Pagans"<br />seta g_redTeam "Stroggs"<br />seta team_headmodel "*james"<br />seta team_model "james"<br />seta cl_maxPing "800"<br />seta m_filter "0"<br />seta m_side "0.25"<br />seta m_forward "0.25"<br />seta m_yaw "0.022"<br />seta m_pitch "0.022000"<br />seta r_inGameVideo "1"<br />seta cl_allowDownload "0"<br />seta cl_packetdup "1"<br />seta cl_pitchspeed "140"<br />seta cl_yawspeed "140"<br />seta sv_strictAuth "1"<br />seta sv_lanForceRate "1"<br />seta sv_master5 ""<br />seta sv_master4 ""<br />seta sv_master3 ""<br />seta sv_master2 ""<br />seta sv_floodProtect "1"<br />seta sv_maxPing "0"<br />seta sv_minPing "0"<br />seta sv_maxRate "0"<br />seta sv_punkbuster "0"<br />seta sv_maxclients "8"<br />seta sv_hostname "noname"<br />seta timelimit "0"<br />seta fraglimit "20"<br />seta dmflags "0"<br />seta vm_ui "2"<br />seta vm_game "2"<br />seta vm_cgame "2"<br />seta joy_threshold "0.150000"<br />seta in_joyBallScale "0.02"<br />seta in_joystick "0"<br />seta in_logitechbug "0"<br />seta in_mouse "1"<br />seta in_mididevice "0"<br />seta in_midichannel "1"<br />seta in_midiport "1"<br />seta in_midi "0"<br />seta com_introplayed "1"<br />seta com_maxfps "85"<br />seta handicap ""<br />seta cl_freelook "1"<br />seta sensitivity "7"<br />seta cl_mouseaccel "0"<br />seta cl_run "1"<br />seta cg_bobup "0.005"<br />seta cg_bobroll "0"<br />seta cg_bobpitch "0"<br />seta cg_autoswitch "0"<br />seta s_musicvolume "0"<br />seta s_khz "22"<br />seta com_hunkmegs "192"<br />seta r_colordepth "16"<br />seta cg_fov "110"<br />seta r_mode "4"<br />seta snaps "30"<br />seta cl_maxpackets "30"<br />seta rate "3500"<br />seta r_gamma "1.4"<br />seta r_picmip "1"<br />seta r_vertexlight "1"<br />seta color "2"<br />seta cg_drawcrosshair "1"<br />seta r_fastsky "1"<br />seta cg_drawfps "1"<br />seta cg_drawtimer "1"<br />seta cg_gibs "0"<br />seta com_blood "0"<br />seta cg_marks "0"<br />seta headmodel "bitterman"<br />seta model "slash/default"<br />seta cg_draw3dicons "0"<br />seta cg_simpleitems "1"<br />seta cg_drawgun "0"<br />seta cg_draw2d "1"<br />seta sex "female"<br />seta name "^2AfganistanBaby"<br />seta com_zoneMegs "16"

Recent Profile Visitors

8,398 profile views

cucumber's Achievements

Newbie

Newbie (1/14)

  1. css otrais samaini uz shito, tur divreizs content uzrasktiju un viss bus ok #loading{ display: block; }
  2. <style> #content { display: none; } #loading{ display: block; } </style> <script> $ = function(id) { return document.getElementById(id); } function showContent() { $('loading').style.display = 'none'; $('content').style.display = ''; } </scirpt> <body onload="javascript:showContent()"> <div id='loading'><img src='loading.gif'></div> <div id='content'>lapas saturs vai sadaļas saturs</div> </body>
  3. CLAmp.exe /START ar sho komandu, winamps jau tiek ieslegts, tikai vinsh ir procesos bez jebkada gui.
  4. Ir fragments <?php echo exec("CLAmp.exe /START"); // kam pec butibas vajadzetu atvert winamp, bet ja vinsh jau ir vala, tad tiek pazinots par to pazinojums, no ta es spriezu ka pats exe fails iet echo exec("CLAmp.exe /NEXT"); //parsledz uz nakamo dziesmu ?> , bet "CLAmp.exe /NEXT" nedarbojas, meginaju caur bat failu ari nekas "START /min CLAmp.exe /NEXT" ieksh bat faila ps. php fails un exe fails atrodas abi viena mape http://membres.lycos.fr/clamp/ clampu var atrast sheit Atrisinaju kludu, lai command rinda stradatu tad vajag, ari laist winampu caur to, vinsh nekur neparadas tikas pielkas pie procesiem.
  5. cucumber

    AJAX , UTF-8

    Nav kas ar shito saistits http://www.w3schools.com/jsref/jsref_encodeURI.asp
  6. kur tad citur neka specene http://www.w3.org/TR/CSS21/cascade.html#specificity skaiti pats kapec sanak ta
  7. man liekas, ta tik tava ficha ta attelo, jo fire bug ar bik savadak attelo neka isteniba ir.
  8. O jaa, tu bik latinu esi augstu uzmetis sac no javascript pamatiem http://www.w3schools.com/JS/default.asp
  9. ja kluda this.value ar palidz <input type="radio" name="rname" value="15" onclick="alert(this.value);" />
  10. Piekritu nemec teiktajam un ja tas vel tas ir flasha, tad droshi + 400ls par flash animacijam.
  11. To var izdarit pielietojot javascript selectam onchange uzzinat selecta vertibu var dropdownIndex = document.getElementById('mySelect').selectedIndex; var dropdownValue = document.getElementById('mySelect')[dropdownIndex].value; un radio varetu dabut vertibu var radioValue = document.getElementById(this).value; // ja shis ir onclick
  12. Shis kods nav tavs, palasi labak tutoriali un komentus pie ta. Es vel iedotu span'am kadu klasi un ar jqeury mekletu pec klases un hiddot.
  13. cucumber

    Javascript

    ajax velu veiksmi
  14. shitie stasti par draugiem xe xe, vienkarshi kada perversa lapa.
×
×
  • Create New...