Jump to content
DevFuse Forums

najaru

Members
  • Content count

    197
  • Joined

  • Last visited

  • Days Won

    1

najaru last won the day on April 6 2011

najaru had the most liked content!

About najaru

  • Rank
    Elite Member

Previous Fields

  • IP.Board Version
    IPB 3.0.x

Profile Information

  • Gender
    Male
  1. Dropdown in php

    Hi Michael, hi all I've a simple php code, for take simple data , make calcule, and print the result. here my code. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Calcolo</title> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" > </head> <body> <?php if (isset ($_POST['val_a']) && isset ($_POST['val_b']) && isset ($_POST['val_c'])) { $a = (float) $_POST['val_a']; $b = (float) $_POST['val_b']; $c = (float) $_POST['val_c']; $risultato = @($a * $b / $c); if ($risultato !== FALSE) echo "Risultato di A*B/C = " . $risultato . "<br><br>"; else echo "Errore nel calcolo<br><br>"; } ?> <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post"> <p> Valore A <input id="val_a" type="text" name="val_a" size="20" maxlength="20" value="<?php echo htmlspecialchars ($_POST['val_a'], ENT_QUOTES); ?>"> <br> Valore B <input id="val_b" type="text" name="val_b" size="20" maxlength="20" value="<?php echo htmlspecialchars ($_POST['val_b'], ENT_QUOTES); ?>"> <br> Valore C <input id="val_c" type="text" name="val_c" size="20" maxlength="20" value="<?php echo htmlspecialchars ($_POST['val_c'], ENT_QUOTES); ?>"> <br> <input type="submit" value="Calcola"> </p> </form> </body> </html> i need to multiply the result for a SPECIFIC FACTOR, dependent by value select by user in dropdown $risultato = @($a * $b / $c) * FACTOR; in dropdown for example: RED (FACTOR=1) GREEN (FACTOR=1,3456) BLUE (FACTOR=3,2965) then user can choice Red Blue or green in dropdown does is difficult?
  2. you cannot transfert inactive licenc. after renew, you will have the possibility to automaticcaly tranfert it, but it will cost you 25$ i'have already done 2 times......
  3. Mass bug fixing updates

    ok thanks
  4. Mass bug fixing updates

    Hi Michael, any news about beta release of IPS 4 ?
  5. upcoming event calendar

    Show forthcoming events from today to [x] days ahead yes sorry, i'm big very stupid
  6. hgello how to chane range of upcoming event in calendar sidebar hook? thanks
  7. erase all signature

    ok thanks
  8. erase all signature

    thanks michael. i will test on a local board . in ipb 3.3 i use the same code?
  9. hello Michael how to delete all signature of certain x y z groups? query sql welcome :) thanks
  10. Introducing Form Manager

    Very interesting. Thanks Michael
  11. (II32) Instruction Tags

    Version

    52 downloads

    Description This displays an explanatory message to below the Tags box field in the new discussion form. Thanks to Adriano for writing hooks for Invisionita. Step 1: Import the Hook File Log in to your IP.Board Admin CP and visit the System tab -> Applications & Modules -> Manage Hooks page. In the 'Install a New Hook' section, browse to the XML file included with these instructions and click Open.
  12. (II32) Instruction Tags

    File Name: (II32) Instruction Tags File Submitter: najaru File Submitted: 21 Dec 2011 File Category: IP.Board Modifications Description This displays an explanatory message to below the Tags box field in the new discussion form. Thanks to Adriano for writing hooks for Invisionita. Step 1: Import the Hook File Log in to your IP.Board Admin CP and visit the System tab -> Applications & Modules -> Manage Hooks page. In the 'Install a New Hook' section, browse to the XML file included with these instructions and click Open. Click here to download this file
  13. Version

    21 downloads

    Our tracker for translation problems http://www.invisionita.it/forum/tracker/
  14. As you all know you can add some automatic or custom content in the sidebar of the board index of IPB 3.2 To insert new custom blocks you can use the classical (e32)Custom Sidebar Blocks 1.5.0 http://community.invisionpower.com/files/file/2447-e32-custom-sidebar-blocks/ that allows you to insert one or more custom blocks in sidebar, but all these will be displayed next to each other, and not interspaced with other automatic blocks. With a manual edit of template you can put at least another 2 blocks, one or more blocks in the sidebar [b]above[/b] all, and one or more [b]below[/b] all. Look&Feel - Manage Skin Sets & Templates - your skin - boardindexTemplate Findi this: [code] <foreach loop="side_blocks:$side_blocks as $block"> {$block} </foreach> [/code] and add BEFORE and or AFTER: [code] <!-- SIDEBAR BLOCK MANUAL BEGIN --> <div class='ipsSideBlock clearfix'> <h3>TITLE</h3> <div class='_sbcollapsable'> MESSAGGIO HTML MESSAGGIO HTML MESSAGGIO HTML </div> </div> <!-- SIDEBAR BLOCK MANUAL END --> [/code]
×